[PATCH] Don't send MSG_WINBIND_ONLINE to idmap_child() in any
child process
Stefan (metze) Metzmacher
metze at samba.org
Tue Jan 13 09:43:09 GMT 2009
boyang schrieb:
> Hi, everyone:
> If the trusted domain cannot go online, fork_child_dc_connect()
> will be invoked periodically to fork() one child process, trying to
> connect to DC. look, fork_child_dc_connect() ---> getdcs() --->
> get_dc_name_via_netlogon() ---> cm_connect_netlogon() --->
> init_dc_connection() ---> cm_open_connection ---> set_domain_online(),
> here send MSG_WINBIND_ONLINE to idmap_child(). It causes
> MSG_WINBIND_ONLINE being sent to idmap_child() periodically, which cause
> idmap child to fork and connect to the primary domain'DC even primary
> domain is already online. :-) It is very expensive, we must not want to
> do that....
>
> Please review the patches!
> Thanks!
Shouldn't we just don't listen for MSG_WINBIND_ONLINE messages in the
idmap child?
metze
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20090113/8bbe36dd/signature.bin
More information about the samba-technical
mailing list