summaryrefslogtreecommitdiff
path: root/python/samba/gpclass.py
diff options
context:
space:
mode:
authorDavid Mulder <dmulder@suse.com>2018-07-19 14:10:33 -0600
committerAurélien Aptel <aaptel@samba.org>2018-10-08 18:17:16 +0200
commit7d07d8bf33754748ccf1703bb4d8564ab062de6c (patch)
treee507c62e64cc9af7d6402eb33e0071987b37a312 /python/samba/gpclass.py
parentcab1650539a790ec3d3016d4281b0b4e0a7da15a (diff)
downloadsamba-7d07d8bf33754748ccf1703bb4d8564ab062de6c.tar.gz
samba-7d07d8bf33754748ccf1703bb4d8564ab062de6c.tar.bz2
samba-7d07d8bf33754748ccf1703bb4d8564ab062de6c.zip
gpo: add unapply to the gp_sec_ext
Signed-off-by: David Mulder <dmulder@suse.com> Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz> Reviewed-by: Aurelien Aptel <aaptel@suse.com>
Diffstat (limited to 'python/samba/gpclass.py')
-rw-r--r--python/samba/gpclass.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/python/samba/gpclass.py b/python/samba/gpclass.py
index 922b800d3db..13d6d8e25d7 100644
--- a/python/samba/gpclass.py
+++ b/python/samba/gpclass.py
@@ -385,6 +385,10 @@ class gp_ext_setter(object):
def mapper(self):
pass
+ def delete(self):
+ upd_sam, _ = self.mapper().get(self.attribute)
+ upd_sam(self.val)
+
@abstractmethod
def __str__(self):
pass