The Samba-Bugzilla – Attachment 6723 Details for
Bug 8330
NFSv4 ACL merging logic is broken
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch (as in master)
0001-s3-modules-fix-Bug-8330-NFSv4-ACL-merging-logic-is-b.patch (text/plain), 1.30 KB, created by
Christian Ambach
on 2011-07-27 14:45:22 UTC
(
hide
)
Description:
proposed patch (as in master)
Filename:
MIME Type:
Creator:
Christian Ambach
Created:
2011-07-27 14:45:22 UTC
Size:
1.30 KB
patch
obsolete
>From aebf82d0f8754ffa96ff6755cd54708fecbd481c Mon Sep 17 00:00:00 2001 >From: Christian Ambach <ambi@samba.org> >Date: Wed, 27 Jul 2011 14:46:00 +0200 >Subject: [PATCH] s3:modules fix Bug 8330 NFSv4 ACL merging logic is broken > >we should not merge ACEs with different flags (e.g. CI/OI/I/) >Otherwise ACLs get wrong entries and thus wrong semantics > >Example: >ACL:BUILTIN\Users:ALLOWED/0x0/FULL >ACL:BUILTIN\Users:ALLOWED/I/READ >got merged to >ACL:BUILTIN\Users:ALLOWED/I/FULL > >This is not the same and also leads to wrong displays >in the Windows ACL dialog > >Autobuild-User: Christian Ambach <ambi@samba.org> >Autobuild-Date: Wed Jul 27 16:03:51 CEST 2011 on sn-devel-104 >--- > source3/modules/nfs4_acls.c | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > >diff --git a/source3/modules/nfs4_acls.c b/source3/modules/nfs4_acls.c >index be8a505..0504779 100644 >--- a/source3/modules/nfs4_acls.c >+++ b/source3/modules/nfs4_acls.c >@@ -516,8 +516,7 @@ static SMB_ACE4PROP_T *smbacl4_find_equal_special( > > if (ace->flags == aceNew->flags && > ace->aceType==aceNew->aceType && >- ((ace->aceFlags&SMB_ACE4_INHERIT_ONLY_ACE)== >- (aceNew->aceFlags&SMB_ACE4_INHERIT_ONLY_ACE)) && >+ ace->aceFlags==aceNew->aceFlags && > (ace->aceFlags&SMB_ACE4_IDENTIFIER_GROUP)== > (aceNew->aceFlags&SMB_ACE4_IDENTIFIER_GROUP) > ) { >-- >1.7.4.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
obnox
:
review+
Actions:
View
Attachments on
bug 8330
: 6723 |
6724