Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Apr 2018 15:49:03 +0000
From:      Brooks Davis <brooks@freebsd.org>
To:        Julian Elischer <julian@freebsd.org>
Cc:        freebsd-current <freebsd-current@freebsd.org>
Subject:   Re: anyone running with ngroups increased from 16?
Message-ID:  <20180416154903.GA44509@spindle.one-eyed-alien.net>
In-Reply-To: <ee1ec98f-2214-36d5-97e4-00475c697593@freebsd.org>
References:  <ee1ec98f-2214-36d5-97e4-00475c697593@freebsd.org>

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

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

On Mon, Apr 16, 2018 at 06:37:53PM +0800, Julian Elischer wrote:
> Windows users seem to have an almost unlimited number of groups and=20
> soem places seem to use them a LOT.
> This gives Posix systems problems with deciding how to handle them=20
> all. Especially when getting
> user credentials from winbindd (samba).
>=20
> Does anyone know of any work done to either bypass this limit or to at=20
> least expand it?

I fixed this in 2009 for everything but NFS AUTH_SYS.  NGROUPS_MAX is
1023.  IIRC the usual hack employed in storage systems is to ignore the
groups provided by AUTH_SYS and get them from winbindd.  I don't know of
a public implementation of that.

-- Brooks

--XsQoSWH+UP9D9v3l
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEcBAEBAgAGBQJa1MXvAAoJEKzQXbSebgfAfMUH/3cAgVc4K+wYwqEszvbvbGrG
V8WO8LCot3nwFMnVp1yfW4FpXf6Vsli4rTJIzQW9fuCgwAXHj5aiCDi8dp3HFLIK
U7zlUrsMenNgPPdU/3yPlDAUo4Mmnh6qW5Vp4dsv8jnzoDRv0xeKXh4UffLi5+Rc
gKjhPqeno+aG9aUiDUCFkkO/7bUG61qh5DWiwZFtuFyPzqUWm259OWvoxQoufgeE
6gFj5QOafFmN/xkrD2n0eMIcaX1VOpLG0vMGwxYoF+ZKSkbvvlByw1TjD0EV4/rm
V8J/rvcU/ix6eIwdGUoJSknfmFeI1FynyIRUmiY6tBLOcRxT8k9qb+ze5Dw/dxM=
=A7Eg
-----END PGP SIGNATURE-----

--XsQoSWH+UP9D9v3l--



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