git.samba.org
/
mdw
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9983ad7
)
s4-samba-tool: Ensure we also sync the SACL as well as the DACL during sysvolreset
author
Andrew Bartlett
<abartlet@samba.org>
Tue, 4 Sep 2012 07:17:34 +0000
(17:17 +1000)
committer
Andrew Bartlett
<abartlet@samba.org>
Tue, 4 Sep 2012 07:52:23 +0000
(09:52 +0200)
source4/scripting/python/samba/ntacls.py
patch
|
blob
|
history
diff --git
a/source4/scripting/python/samba/ntacls.py
b/source4/scripting/python/samba/ntacls.py
index ac4aad0725921351d310a628bb2be25f1c7fc775..38c31c63c075d9aff02c22823a1233491452e017 100644
(file)
--- a/
source4/scripting/python/samba/ntacls.py
+++ b/
source4/scripting/python/samba/ntacls.py
@@
-105,7
+105,7
@@
def setntacl(lp, file, sddl, domsid, backend=None, eadbfile=None, use_ntvfs=True
samba.xattr_native.wrap_setxattr(file, xattr.XATTR_NTACL_NAME,
ndr_pack(ntacl))
else:
- smbd.set_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP | security.SECINFO_DACL, sd)
+ smbd.set_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP | security.SECINFO_DACL
| security.SECINFO_SACL
, sd)
def ldapmask2filemask(ldm):