git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8e6bb4
)
python-ntacls: Cope with ACL revision 4
author
Andrew Bartlett
<abartlet@samba.org>
Wed, 24 Oct 2012 07:24:12 +0000
(18:24 +1100)
committer
Andrew Bartlett
<abartlet@samba.org>
Thu, 25 Oct 2012 13:04:39 +0000
(15:04 +0200)
This is the new revision with the hash of the posix or system ACL.
Andrew Bartlett
Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Thu Oct 25 15:04:39 CEST 2012 on sn-devel-104
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 44cbbe95591b1994cd61cc35f22ea04b7f405787..f3040472dfc38af648002f6e23cc5cbfcd8649bc 100644
(file)
--- a/
source4/scripting/python/samba/ntacls.py
+++ b/
source4/scripting/python/samba/ntacls.py
@@
-78,6
+78,8
@@
def getntacl(lp, file, backend=None, eadbfile=None, direct_db_access=True):
return ntacl.info.sd
elif ntacl.version == 3:
return ntacl.info.sd
+ elif ntacl.version == 4:
+ return ntacl.info.sd
else:
return smbd.get_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL)