diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-08-23 09:45:07 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-08-23 15:02:26 +0200 |
commit | 0aed29105e9d8ddcd27a70d7af820da8813ca47b (patch) | |
tree | 9c9cfad154e13af3771b01c543a129606de157c6 /source4 | |
parent | e058dfb3b0714da229d1bddf96c72611af7b1fab (diff) | |
download | samba-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.py | 2 |
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): |