winbindd question

Gerald (Jerry) Carter jerry at samba.org
Wed Aug 1 02:30:25 GMT 2007


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

Aravinda Guzzar wrote:

> Can any one please tell me how does winbind daemon decides 
> when to create a new child process to service a request.

Did you look at async_domain_request() ?  If the domain is
not initialized, then we send a request to the child to
establish it's connections to the DC for its domain.

> I could see the fork call gets hit even when I 
> run "winbindd -i" in interactive mode. The initialization
> sets Fork = False but fork() call is infact get
> called even in interactive mode. Is it not possible to run
> winbind daemon in single process, w/o child 
> processes getting created?

No.

> If some one can point me to a document to understand 
> the winbind daemon better it would be of very helpful to me.

I'm afraid your best friend in this case is the code.
I have some slides on the idmap manager in 3.0.25 from
this past SambaXP but no overall architecture documentation.

It's basically an async state machine.  The parent winbindd
is a dispatcher (except in a few cases).  The child cases are
the equivalent of worker threads.




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

iD8DBQFGr/BBIR7qMdg1EfYRAls9AJ9bZqIa9v8k8SRrTmbzzTajdpuuNgCg3b4y
3stVbVeIjGyuqI5eGtTKlg4=
=vOne
-----END PGP SIGNATURE-----


More information about the samba-technical mailing list