s3:modules fix Bug 8330 NFSv4 ACL merging logic is broken
commit3c05013694c453411b78a1df884a80c8d48e7393
authorChristian Ambach <ambi@samba.org>
Wed, 27 Jul 2011 12:46:00 +0000 (27 14:46 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 9 Aug 2011 11:05:07 +0000 (9 13:05 +0200)
tree32f1c631cb012b6052318d04192f36ebb8782182
parent6a587c926b7fdcb934b916a29bdd04bd0ef606b9
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