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

Jeremy Allison jra at samba.org
Sat Jan 20 01:20:44 GMT 2007


On Fri, Jan 19, 2007 at 08:09:57PM -0500, simo wrote:
> 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.

Not until the DC connection is initialized.

Jeremy.


More information about the samba-technical mailing list