]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
libsmb_samba_internal: don't send SECINFO_[UN]PROTECTED_{S,D}ACL by default
authorStefan Metzmacher <metze@samba.org>
Thu, 3 Dec 2020 12:58:53 +0000 (13:58 +0100)
committerStefan Metzmacher <metze@samba.org>
Thu, 17 Dec 2020 13:59:38 +0000 (13:59 +0000)
We want to get the default behavior.

It's also pointless to set PROTECTED and UNPROTECTED at the same time.
These are defined in MS-DTYP 2.4.7 SECURITY_INFORMATION with a brief
description, but they aren't referenced in anywhere in MS-DTYP itself,
nor in MS-FSA are any other document.

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
python/samba/samba3/libsmb_samba_internal.py

index 84729b2041d231c141ea72598d14dabe1bcc351c..cb585294925bbc10d8579c6ba665dafa4d3b00fb 100644 (file)
@@ -29,11 +29,7 @@ class Conn(LibsmbCConn):
         security.SECINFO_OWNER | \
         security.SECINFO_GROUP | \
         security.SECINFO_DACL | \
-        security.SECINFO_PROTECTED_DACL | \
-        security.SECINFO_UNPROTECTED_DACL | \
-        security.SECINFO_SACL | \
-        security.SECINFO_PROTECTED_SACL | \
-        security.SECINFO_UNPROTECTED_SACL
+        security.SECINFO_SACL
 
     def get_acl(self,
                 filename,