s3-nfs4acls: Remove lookup_sid and sidmap from NFSv4 ACL mapping and check gid first
authorAndrew Bartlett <abartlet@samba.org>
Sun, 6 May 2012 22:48:24 +0000 (08:48 +1000)
committerJeremy Allison <jra@samba.org>
Fri, 10 Aug 2012 23:17:36 +0000 (01:17 +0200)
commitf36e28d1316bc0bd210933bbdb77241376fe3500
tree81f56011436d8e615e4c4929828f8d14250cd1a0
parentc991ac0ebf13bf7832b33dffca388f6f14755fbb
s3-nfs4acls: Remove lookup_sid and sidmap from NFSv4 ACL mapping and check gid first

By checking just the IDMAP, and by removing the sidmap and lookup_sid calls, we support
IDMAP_BOTH.  This is because by checking for a mapping to a GID first, we can rely on
the fact that IDMAP_BOTH will resolve to a GID.

If the sidmap idea is valued - it allows multiple SIDs to map to a single unix ID, this should
be done in the IDMAP layer.

Andrew Bartlett

Signed-off-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Sat Aug 11 01:17:36 CEST 2012 on sn-devel-104
source3/modules/nfs4_acls.c