Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Apr 2010 23:00:48 +0000
From:      Knowledge Seeker <knoseeker@googlemail.com>
To:        freebsd-hackers@freebsd.org
Subject:   RPC and NFS more than 16 groups
Message-ID:  <t2nb5ec32921004131600q5cbfad0uee7fc35103f7e115@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?t2nb5ec32921004131600q5cbfad0uee7fc35103f7e115>