diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-11-05 15:22:02 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-11-06 08:27:44 +1100 |
commit | 033451587db21d6e4b829e89a64f894a32682131 (patch) | |
tree | 3cea3a59bffb820eb036d71a0f14335031a303bc /source4/scripting/python | |
parent | abbbbb5cdc39b71c0f243ff1e660d1f35a4923e3 (diff) | |
download | samba-033451587db21d6e4b829e89a64f894a32682131.tar.gz samba-033451587db21d6e4b829e89a64f894a32682131.tar.bz2 samba-033451587db21d6e4b829e89a64f894a32682131.zip |
provision: Also walk directories checking ACLs
The directory walk was missed due to a cut-and-paste error.
Andrew Bartlett
Reviewed-by: Jelmer Vernooij <jelmer@samba.org>
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/scripting/python')
-rw-r--r-- | source4/scripting/python/samba/provision/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py index b38555608b..ba50ff30e6 100644 --- a/source4/scripting/python/samba/provision/__init__.py +++ b/source4/scripting/python/samba/provision/__init__.py @@ -1484,7 +1484,7 @@ def check_dir_acl(path, acl, lp, domainsid, direct_db_access): if fsacl_sddl != acl: raise ProvisioningError('%s ACL on GPO file %s %s does not match expected value %s from GPO object' % (acl_type(direct_db_access), os.path.join(root, name), fsacl_sddl, acl)) - for name in files: + for name in dirs: fsacl = getntacl(lp, os.path.join(root, name), direct_db_access=direct_db_access) if fsacl is None: raise ProvisioningError('%s ACL on GPO directory %s %s not found!' % (acl_type(direct_db_access), os.path.join(root, name))) |