summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-08-23 09:45:07 +1000
committerAndrew Bartlett <abartlet@samba.org>2012-08-23 15:02:26 +0200
commit0aed29105e9d8ddcd27a70d7af820da8813ca47b (patch)
tree9c9cfad154e13af3771b01c543a129606de157c6 /source4
parente058dfb3b0714da229d1bddf96c72611af7b1fab (diff)
downloadsamba-0aed29105e9d8ddcd27a70d7af820da8813ca47b.tar.gz
samba-0aed29105e9d8ddcd27a70d7af820da8813ca47b.tar.bz2
samba-0aed29105e9d8ddcd27a70d7af820da8813ca47b.zip
s3-smbd: Add security_info_wanted argument to get_nt_acl_no_snum
I need to get at the owner, group, DACL and SACL when testing correct ACL storage. Andrew Bartlett
Diffstat (limited to 'source4')
-rw-r--r--source4/scripting/python/samba/ntacls.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/scripting/python/samba/ntacls.py b/source4/scripting/python/samba/ntacls.py
index 6f8e770bba..ac4aad0725 100644
--- a/source4/scripting/python/samba/ntacls.py
+++ b/source4/scripting/python/samba/ntacls.py
@@ -79,7 +79,7 @@ def getntacl(lp, file, backend=None, eadbfile=None, direct_db_access=True):
elif ntacl.version == 3:
return ntacl.info.sd
else:
- return smbd.get_nt_acl(file)
+ return smbd.get_nt_acl(file, security.SECINFO_OWNER | security.SECINFO_GROUP | security.SECINFO_DACL | security.SECINFO_SACL)
def setntacl(lp, file, sddl, domsid, backend=None, eadbfile=None, use_ntvfs=True):