SAMBA_3_0: idmap_init() turns winbindd into a fork() bomb
simo
idra at samba.org
Sat Jan 20 01:09:57 GMT 2007
On Fri, 2007-01-19 at 18:00 -0600, Gerald (Jerry) Carter wrote:
> -----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.
The dom SID is absolutely necessary, is the key used to recognize what
backend a SID belongs to (except for the default backend).
> I'm going to refactor the idmap_init() code and clean this
> up. Just though you might want to know.
Maybe you can use another winbind call to find out the sid.
Simo.
--
Simo Sorce
Samba Team GPL Compliance Officer
email: idra at samba.org
http://samba.org
More information about the samba-technical
mailing list