The rsop should only list the policies from
that extension, not from all policies in the
same file.
Signed-off-by: David Mulder <dmulder@suse.com>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Feb 11 18:28:09 UTC 2021 on sn-devel-184
inf_conf = self.parse(path)
if not inf_conf:
return output
- for section in inf_conf.sections():
+ if str(self) in inf_conf.sections():
+ section = str(self)
output[section] = {k: v for k, v in inf_conf.items(section) \
if gp_krb_ext.apply_map.get(k)}
return output
inf_conf = self.parse(path)
if not inf_conf:
return output
- for section in inf_conf.sections():
+ if str(self) in inf_conf.sections():
+ section = str(self)
output[section] = {k: v for k, v in inf_conf.items(section) \
if gp_access_ext.apply_map.get(k)}
return output
+++ /dev/null
-^samba.tests.gpo.samba.tests.gpo.GPOTests.test_rsop