RPC and NFS more than 16 groups

Knowledge Seeker knoseeker at googlemail.com
Tue Apr 13 23:26:52 UTC 2010


Hi,
I need to have my NFS server to authenticate more than 16 groups when there
is a file access.

I would like to know if I can just redefine my MACROS to accomplish that.

The macro would be: NGRPS,  because it is tested against the variable
ngroups which comes from NGROUPS value.

/* gids compose part of a credential; there may not be more than 16 of them
*/
#define NGRPS 16

In:

sys/rpc/authunix_prot.c
sys/rpc/svc_auth_unix.c
usr.sbin/rpc.lockd/kern.c
include/rpc/auth_unix.h
lib/libc/rpc/PSD.doc/xdr.nts.ms

Is there any critical issue in change the defs and recompile the kernel and
the world?

Thanks in advance.

Regards

-- 
Knoseeker


More information about the freebsd-hackers mailing list