[PATCH] knfsd: allow the server to provide a gid list when using AUTH_UNIX authentication
authorNeilBrown <neilb@suse.de>
Wed, 14 Feb 2007 08:33:13 +0000 (00:33 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 14 Feb 2007 16:09:53 +0000 (08:09 -0800)
commit3fc605a2aa38899c12180ca311f1eeb61a6d867e
tree4a75b90cc8cffca4661642360cbec42a424bf9cf
parentaf6a4e280e3ff453653f39190b57b345ff0bec16
[PATCH] knfsd: allow the server to provide a gid list when using AUTH_UNIX authentication

AUTH_UNIX authentication (the standard with NFS) has a limit of 16 groups ids.
 This causes problems for people in more than 16 groups.

So allow the server to map a uid into a list of group ids based on local
knowledge rather depending on the (possibly truncated) list from the client.

If there is no process on the server responding to upcalls, the gidlist in the
request will still be used.

Signed-off-by: Neil Brown <neilb@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
net/sunrpc/sunrpc_syms.c
net/sunrpc/svcauth_unix.c