Author: vlendec Date: 2005-05-11 15:53:50 +0000 (Wed, 11 May 2005) New Revision: 6735
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=6735 Log: The parent's domain struct initialization is now done upon the first request, don't do that twice. Volker Modified: trunk/source/nsswitch/winbindd_util.c Changeset: Modified: trunk/source/nsswitch/winbindd_util.c =================================================================== --- trunk/source/nsswitch/winbindd_util.c 2005-05-11 15:07:21 UTC (rev 6734) +++ trunk/source/nsswitch/winbindd_util.c 2005-05-11 15:53:50 UTC (rev 6735) @@ -408,6 +408,9 @@ struct init_child_state *state = talloc_get_type_abort(private, struct init_child_state); + DEBUG(5, ("Received child initialization response for domain %s\n", + state->domain->name)); + if ((!success) || (state->response->result != WINBINDD_OK)) { DEBUG(3, ("Could not init child\n")); state->continuation(state->private, False); @@ -515,7 +518,6 @@ domain->primary = True; setup_domain_child(domain, &domain->child); - init_child_connection(domain, NULL, NULL); /* Add our local SAM domains */