Sébastien Morand <seb.mor...@gmail.com> writes: > On Tue, Jul 12, 2016 at 4:35 PM, Alexandre Ratchov <a...@caoua.org> wrote: >> >> On Tue, Jul 12, 2016 at 04:11:07PM +0000, Sébastien Morand wrote: >> > Hi everybody, >> > >> > I'm implementing a samba share on OpenBSD 5.9 and I'm getting in trouble >> > because of the NGROUPS_MAX limitation to 16 groups per user. Is there any >> > way to increase this value? >> > >> > For instance recompiling kernel with /usr/src/sys/sys/syslimits.h > modified >> > (NGROUPS_MAX to 32 or 64)? Using yellowpage? >> > >> > The same computer is an nfs client and nfs server (looks like the >> > limitation apply over there too). >> > >> >> iirc, this a limitation of the network protocol itself > > In Linux, ngroups_lax is 65536. Looks like ok there. So no way to change it?
No reasonable way. If you really need more than 16, better use another OS. As the net/samba port maintainer I thought about bumping NGROUPS_MAX, but this requires some non-trivial work that I don't plan to investigate before 6.0. And then it would not change anything about the NFS protocol limitations (that can be worked around by using only CIFS). -- jca | PGP: 0x1524E7EE / 5135 92C1 AD36 5293 2BDF DDCC 0DFA 74AE 1524 E7EE