setgroups problems on FreeBSD - proposed fix

Volker Lendecke Volker.Lendecke at SerNet.DE
Wed May 23 17:50:47 GMT 2007

On Wed, May 23, 2007 at 09:31:34AM -0700, James Peach wrote:
> The first element in the groups list is always the effective gid on  
> (most?all?) BSD systems. But you get this back from getgroups, so as  
> long as you only give setgroups what you got back from getgroups, you  
> don't need anything special.

Well, we did not do a getgroups before doing setgroups...

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url :

More information about the samba-technical mailing list