git.samba.org
/
kai
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
python-ntacls: Cope with ACL revision 4
[kai/samba.git]
/
source4
/
scripting
/
python
/
samba
/
ntacls.py
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)