[Samba] nsswitch groups confusion

Gerald (Jerry) Carter jerry at samba.org
Fri Jun 9 12:07:43 GMT 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Wagener, Harald wrote:

> [2006/06/09 13:14:28, 5] auth/auth_util.c:debug_unix_user_token(454)
>   UNIX token of user 105593
>   Primary group is 100000 and contains 2 supplementary groups
>   Group[  0]: 100000
>   Group[  1]: 100492
> [snip]
> 
> so, obviously samba isn't aware of the ldap-based groups. 
> Since it worked before being bound to the AD, I am a bit
> stumped as what to do about it.

For local users, smbd calls initgroups().  For users provided
by winbindd. smbd calls the daemon directly.  So the behavior
you are seeing is by design (for performance reasons).







cheers, jerry
=====================================================================
Samba                                    ------- http://www.samba.org
Centeris                         -----------  http://www.centeris.com
"What man is a man who does not make the world better?"      --Balian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFEiWSPIR7qMdg1EfYRAvEUAKCGEqmIQaE2QAj6UlhhGa2XCsz32ACg5T9B
ZnTb5mzFEFgHzb7JPN2n8z8=
=9K2E
-----END PGP SIGNATURE-----


More information about the samba mailing list