Initgroups errors.on OSX with WinXP

Andrew Bartlett abartlet at
Thu Feb 28 03:56:07 GMT 2002

The DJ wrote:
> To answer part of my questions.
> Nobody is the default group/user for guest access.
> In OSX both those have a gid/pid of -1 This is not allowed by the function
> winbind_initgroups in smbd/sec_ctx.c
> This error never showed up before 10.1.3

Then tell apple to fix their OS (guest account as -1 is a *really* bad
idea).  In the meantime chose a new 'guest user = ' in your smb.conf.

> BTW. This function is called winbind_initgroups. I don't have winbind
> compiled, so why is this. If this is a function that is not only used by
> winbind but also by the base smbd, then I think it should not be prefixed
> with winbind.

It is winbind_initgroups becouse it *can* call winbind, and you can't
call it just 'initgroups' becouse then you would clash.

Andrew Bartlett

Andrew Bartlett                                 abartlet at
Manager, Authentication Subsystems, Samba Team  abartlet at
Student Network Administrator, Hawker College   abartlet at

More information about the samba-technical mailing list