Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Jul 2007 16:33:07 +0200
From:      Ruben de Groot <mail25@bzerk.org>
To:        Michael Vince <mv@thebeastie.org>
Cc:        freebsd-hackers@freebsd.org, Julian Elischer <julian@elischer.org>, rapopp@eastcentral.edu
Subject:   Re: kern.ngroups question
Message-ID:  <20070719143307.GA8861@ei.bzerk.org>
In-Reply-To: <469ECA49.8050101@thebeastie.org>
References:  <200706051149.45787.rapopp@eastcentral.edu> <4665B28A.7060608@elischer.org> <469ECA49.8050101@thebeastie.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 19, 2007 at 12:19:53PM +1000, Michael Vince typed:
> 
> I just had to deal with this limitation and it was quite annoying to say 
> the least, it appears Samba is somewhat deliberately designed to give 
> you a hard time when you run into this limit, because as soon as you add 
> a user to more than 16 groups it declares the group file unreadable and 
> as a security measure shuts down all shares and authentication which 
> wrecks a network which relies on Samba.
>
> Also as far as I know Solaris and Linux has long gone past this limitation.
 
Linux maybe, but not Solaris:

$ uname -sr
SunOS 5.10
$ grep groups /usr/include/limits.h 
#define NGROUPS_MAX     16      /* max number of groups for a user */

cheers,
Ruben

> Mike
> 
> 
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"



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