From: David Mulder Date: Wed, 16 May 2018 17:08:13 +0000 (-0600) Subject: gpo: Remove unused methods from gp_sec_ext X-Git-Tag: tdb-1.3.17~1417 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb22582aef50491e48ab3d8ed69f15b7500d10c2;p=thirdparty%2Fsamba.git gpo: Remove unused methods from gp_sec_ext These functions were added by Luke, but have never actually done anything. If/when we read from these *.pol files, we won't need these separate functions to do it. Signed-off-by: David Mulder Reviewed-by: Douglas Bagnall Reviewed-by: Aurelien Aptel --- diff --git a/python/samba/gp_sec_ext.py b/python/samba/gp_sec_ext.py index 9c666f902d0..c3d611bbaad 100644 --- a/python/samba/gp_sec_ext.py +++ b/python/samba/gp_sec_ext.py @@ -139,12 +139,6 @@ class gp_sec_ext(gp_inf_ext): return os.path.join(rootpath, "MACHINE/Microsoft/Windows NT/SecEdit/GptTmpl.inf") - def listmachpol(self, rootpath): - return os.path.join(rootpath, "Machine/Registry.pol") - - def listuserpol(self, rootpath): - return os.path.join(rootpath, "User/Registry.pol") - def apply_map(self): if self.lp.get('server role') != 'active directory domain controller': return {}