provision: Fix comments in checksysvolacl
authorAndrew Bartlett <abartlet@samba.org>
Fri, 26 Oct 2012 22:20:52 +0000 (09:20 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 27 Oct 2012 00:55:08 +0000 (11:55 +1100)
source4/scripting/python/samba/provision/__init__.py

index f6c11b51591354229541ee048bc60325ed1ae6e8..b38555608ba5d735291350b1535742961634305f 100644 (file)
@@ -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: