s3-smbd: Merge ACE entries based on mapped UID/GID not SID
commitc991ac0ebf13bf7832b33dffca388f6f14755fbb
authorAndrew Bartlett <abartlet@samba.org>
Tue, 7 Aug 2012 02:11:50 +0000 (7 12:11 +1000)
committerJeremy Allison <jra@samba.org>
Fri, 10 Aug 2012 21:38:47 +0000 (10 14:38 -0700)
tree9c9f7fbf6f0bddac618bc906cc44f5f124ab01db
parentd3188a0480e067ecd8c7ac65ebd9dfc5f2132b41
s3-smbd: Merge ACE entries based on mapped UID/GID not SID

As the test for a valid posix ACL is based on the unix uid/gid only appearing once in the ACL
the merge process also needs to be UID/GID based.

This is a problem when we have multiple builtin groups mapped to the same POSIX group
as happens in a Samba4 provision.

Andrew Bartlett

Signed-off-by: Jeremy Allison <jra@samba.org>
source3/smbd/posix_acls.c