]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
nfsd4: don't try to map gid's in generic rpc code
authorJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 20 Oct 2009 22:51:34 +0000 (18:51 -0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 26 Apr 2010 14:41:35 +0000 (07:41 -0700)
commit139b4a2e8bdefa6ab6849d1aaac9ea6d962592b7
tree6ace3095eeed1f030ff40a911da5a2a951c6701e
parent31bbea0a639f04ed0047155f154c18afbc49259e
nfsd4: don't try to map gid's in generic rpc code

commit dc83d6e27fa80babe31c80aa8568f125f72edf57 upstream.

For nfsd we provide users the option of mapping uid's to server-side
supplementary group lists.  That makes sense for nfsd, but not
necessarily for other rpc users (such as the callback client).

So move that lookup to svcauth_unix_set_client, which is a
program-specific method.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
net/sunrpc/svcauth_unix.c