From 34fc7fed9f2ffc4dc138ca3f9ad1f577c18ff7b1 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 21 Aug 2014 16:28:42 -0700 Subject: [PATCH] s3: smbd: POSIX ACLs. Remove incorrect check for SECINFO_PROTECTED_DACL in incoming security_information flags in posix_get_nt_acl_common(). Tidy-up of code obsoleted by fixes for bug #10773 (SECINFO_PROTECTED_DACL is not ignored). We now never pass SECINFO_PROTECTED_DACL in security_information flags to this layer. https://bugzilla.samba.org/show_bug.cgi?id=10773 Signed-off-by: Jeremy Allison --- source3/smbd/posix_acls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/smbd/posix_acls.c b/source3/smbd/posix_acls.c index b9edf12..126b822 100644 --- a/source3/smbd/posix_acls.c +++ b/source3/smbd/posix_acls.c @@ -3280,7 +3280,7 @@ static NTSTATUS posix_get_nt_acl_common(struct connection_struct *conn, num_profile_acls = 3; } - if ((security_info & SECINFO_DACL) && !(security_info & SECINFO_PROTECTED_DACL)) { + if (security_info & SECINFO_DACL) { /* * In the optimum case Creator Owner and Creator Group would be used for -- 2.1.0.rc2.206.gedb03e5