async sid2gid

Gerald (Jerry) Carter jerry at samba.org
Thu Oct 19 21:33:28 GMT 2006


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

simo wrote:
> Found this while working on the idmap code:
> 
> In nsswitch/winbindd_async.c
>   in winbindd_dual_sid2gid()
>     line 406
> 
> There seem to be a very odd call back to sid_to_gid() that I think
> shouldn't be there (it could even loop if winbindd wasn't dual daemon as
> sid_to_gid() calls back winbindd_sid_to_uid()).
> 
> It is probably completely safe to remove it, but I'd like to be 100%
> sure someone didn't left it there for a reason.

This is for handling local machine groups and the BUILTIN domain
IIRC.    It shouldn't loop as the _NO_WINBIND environment variable
is set.






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.2 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFN+8oIR7qMdg1EfYRApWrAKC1I760f4z4IH71NOJQg3YWOMJn9wCg22vs
6pyb3UFnbFFyZRxpCKuHCww=
=FdPd
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list