[Samba] smb_panic sys_setgroups failed
Jeremy Allison
jra at samba.org
Tue Oct 5 11:14:01 MDT 2010
On Tue, Oct 05, 2010 at 08:57:35AM -0400, Gaiseric Vandal wrote:
> What OS?
>
> I am running Solaris 10 machines with Samba 3.4.x and 3.0.x
>
> Samba 3.4.x (and presumably 3.5.x) checks to see how many windows
> groups the user belongs to. It checks what the max number of groups
> a user is allowed to belong to by the unix syste. If the windows
> group list exceeds this maximum you will have problems. On Solaris,
> this is the "ngroup_max" kernel parameter. By default it is 16
> (this is for backwards compatibility with NFS + RPC authentication.)
>
> You can increase the limit by editing the /etc/system file and
> rebooting- e.g.
>
> set ngroups_max=32
>
> This can break NFS mounts if the user is in more than 16 groups.
> Which may not be an issue.
>
> I don't know if there is an equivalent setting in Linux, of if linux
> even has such a setting.
It's 64k on Linux, which should be enough for AD use.
Jeremy.
More information about the samba
mailing list