SAMBA_3_0: idmap_init() turns winbindd into a fork() bomb

Gerald (Jerry) Carter jerry at samba.org
Sat Jan 20 00:00:13 GMT 2007


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

Simo,

The call to find_domain_from_name() in idmap_init() which
is attempting to grab the domain SID is creating a
duplicate domain_list which means that two event handlers
for check_domain_inline_handler() are getting registered.
With the change to run all pending events, the first while()
loop in run_events() never exists.

I don't think that the domain SID is required here.
But I don't remember your reason for adding it.

I'm going to refactor the idmap_init() code and clean this
up.  Just though you might want to know.






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

iD4DBQFFsVuNIR7qMdg1EfYRAmU6AJdvLRkTCru7vOMAZ8hUV9ri4xoBAKDgwkwL
G4kEkaG3Xwx6BNe9+KNBlw==
=Ur5r
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list