s3-smbd: Consider a group with the same SID as sufficient duplication
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 May 2012 01:05:41 +0000 (11:05 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 17 May 2012 01:17:05 +0000 (03:17 +0200)
commitf38638d4511814e2b541665df2f56c7ce357682f
tree3430d57b8b158cf209c54049ebf5c81969386733
parent5b1c42228b8badbc7e7a4446c33f590bd1257f1f
s3-smbd: Consider a group with the same SID as sufficient duplication

This code is to ensure that the user does not loose rights when their file
ownership is taken away.  If the owner (an IDMAP_BOTH SID) appears as a group
then a duplicate user is not required.

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