summaryrefslogtreecommitdiff
path: root/source4/scripting
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-10-27 09:20:52 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-10-27 11:55:08 +1100
commit7e90a064437790789726d701ada5de9503816281 (patch)
tree7213fc6cb6247309cdf00ab25a21a3cb2ed6476b /source4/scripting
parentec0f51b200d6e5b99bbd872e169621c17f33524c (diff)
downloadsamba-7e90a064437790789726d701ada5de9503816281.tar.gz
samba-7e90a064437790789726d701ada5de9503816281.tar.bz2
samba-7e90a064437790789726d701ada5de9503816281.zip
provision: Fix comments in checksysvolacl
Diffstat (limited to 'source4/scripting')
-rw-r--r--source4/scripting/python/samba/provision/__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/provision/__init__.py b/source4/scripting/python/samba/provision/__init__.py
index f6c11b5159..b38555608b 100644
--- a/source4/scripting/python/samba/provision/__init__.py
+++ b/source4/scripting/python/samba/provision/__init__.py
@@ -1559,8 +1559,9 @@ def checksysvolacl(samdb, netlogon, sysvol, domainsid, dnsdomain, domaindn,
if domain_info["dns_domain"].upper() != dnsdomain.upper():
raise ProvisioningError('Realm as seen by pdb_samba_dsdb [%s] does not match Realm as seen by the provision script [%s]!' % (domain_info["dns_domain"].upper(), dnsdomain.upper()))
- # Set the SYSVOL_ACL on the sysvol folder and subfolder (first level)
+ # Ensure we can read this directly, and via the smbd VFS
for direct_db_access in [True, False]:
+ # Check the SYSVOL_ACL on the sysvol folder and subfolder (first level)
for dir_path in [os.path.join(sysvol, dnsdomain), netlogon]:
fsacl = getntacl(lp, dir_path, direct_db_access=direct_db_access)
if fsacl is None: