gpo: Remove unused methods from gp_sec_ext
authorDavid Mulder <dmulder@suse.com>
Wed, 16 May 2018 17:08:13 +0000 (11:08 -0600)
committerAurélien Aptel <aaptel@samba.org>
Mon, 8 Oct 2018 16:17:15 +0000 (18:17 +0200)
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 <dmulder@suse.com>
Reviewed-by: Douglas Bagnall <douglas.bagnall@catalyst.net.nz>
Reviewed-by: Aurelien Aptel <aaptel@suse.com>
python/samba/gp_sec_ext.py

index 9c666f902d09021262ff79b1671cf6989a58e4fb..c3d611bbaad647dab5334570e921ce5822a3ecfc 100644 (file)
@@ -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 {}