1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

libsmb_samba_internal: don't send SECINFO_[UN]PROTECTED_{S,D}ACL by default

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>
This commit is contained in:
Stefan Metzmacher 2020-12-03 13:58:53 +01:00
parent 752a8f870d
commit 0ccdce67d3

View 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,