Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Apr 2010 16:43:34 -0500
From:      Brooks Davis <brooks@freebsd.org>
To:        Knowledge Seeker <knoseeker@googlemail.com>
Cc:        freebsd-hackers@freebsd.org, Brooks Davis <brooks@freebsd.org>
Subject:   Re: RPC and NFS more than 16 groups
Message-ID:  <20100427214334.GA69365@lor.one-eyed-alien.net>
In-Reply-To: <h2wb5ec32921004271403pdea6a0er89bc43e97fd73401@mail.gmail.com>
References:  <t2nb5ec32921004131600q5cbfad0uee7fc35103f7e115@mail.gmail.com> <20100414023414.GD81708@lor.one-eyed-alien.net> <h2wb5ec32921004271403pdea6a0er89bc43e97fd73401@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--liOOAslEiF7prFVr
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Apr 27, 2010 at 09:03:36PM +0000, Knowledge Seeker wrote:
> Hi,
> I made the changes in 2 FreeBSD 8.0 stable boxes. One I've configured one=
 as
> a server and the other as the client.
> But the 16 groups limit persists.
> Even when I tried using a GNU/Linux Debian machine as a client with a Ker=
nel
> patched  to work with the number of groups advertised by the server
> (kernel-patch-nfs-ngroups), it does not work.
>=20
>=20
> The files and lines changed in FreeBSD src were:
>=20
> include/rpc/auth_unix.h:#define NGRPS 64
> lib/libc/rpc/PSD.doc/xdr.nts.ms:#define NGRPS 64
> lib/libc/rpc/PSD.doc/xdr.nts.ms:#define NGRPS 64
> sys/rpc/authunix_prot.c:#define NGRPS 64
> sys/rpc/svc_auth_unix.c:#define NGRPS            64
>=20
> I wish to do that as a temporary solution, once we intend to do a complete
> migration to OpenAFS soon.
> But now, It's really important to have this working.
> Migrate to NFSv4 first, will be too much work, especially on clients. (On=
ly
> the server is a FreeBSD machine)

Realistically you're going to have to dig through the code and find all
the hidden hard codings of 16.  I don't know of any exisitng patches.

-- Brooks

--liOOAslEiF7prFVr
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (FreeBSD)

iD8DBQFL11qFXY6L6fI4GtQRAsBSAJ9MwzcB/YVqI3cuCBgPpYWzr6qiBACeN+Ym
rJrD/WfOm2N3gHcCd4Z3oh0=
=ehR8
-----END PGP SIGNATURE-----

--liOOAslEiF7prFVr--



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