diff options
author | Matthieu Patou <mat@matws.net> | 2010-08-19 12:37:00 +0400 |
---|---|---|
committer | Matthieu Patou <mat@matws.net> | 2010-08-19 15:59:06 +0400 |
commit | 4fec72db1c73c03e6a666723dcc8eb8a2667d598 (patch) | |
tree | bafc156cae32377a4f8c9a15a2c83502dc6afa79 | |
parent | 6e7d6844620936cf5394c3d35ac1c8c8c5d042fc (diff) | |
download | samba-4fec72db1c73c03e6a666723dcc8eb8a2667d598.tar.gz samba-4fec72db1c73c03e6a666723dcc8eb8a2667d598.tar.bz2 samba-4fec72db1c73c03e6a666723dcc8eb8a2667d598.zip |
s4 provision: POLICY_ACL is already an FS acl no need to translate it
-rw-r--r-- | source4/scripting/python/samba/provision.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/scripting/python/samba/provision.py b/source4/scripting/python/samba/provision.py index c6578db732..92cb6f437e 100644 --- a/source4/scripting/python/samba/provision.py +++ b/source4/scripting/python/samba/provision.py @@ -1234,8 +1234,7 @@ def set_gpos_acl(sysvol, dnsdomain, domainsid, domaindn, samdb, lp): # Set ACL for GPO root folder root_policy_path = os.path.join(sysvol, dnsdomain, "Policies") - setntacl(root_policy_path, dsacl2fsacl(POLICIES_ACL, str(domainsid)), - lp, str(domainsid)) + setntacl(lp, root_policy_path, POLICIES_ACL, str(domainsid)) res = samdb.search(base="CN=Policies,CN=System,%s"%(domaindn), attrs=["cn", "nTSecurityDescriptor"], |