From a6f30ced0aacf8c40b6ce4c2ed6812a76098af92 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 25 Jan 2007 14:08:45 +0000 Subject: r21018: Removing the set_domain_online_request again in trustdom_recv(). Jeremy, we really can't do that. There are setups with hundred and more trusted domains out there, I have one customer who tells me it takes more then half an hour for him after winbind is up and running. That request registers the check_domain_online_handler which in turn forks off the child immediately. Also discussed with Volker. Guenther (This used to be commit ccd4812c0b436a12b809668d09c5681111125f3d) --- source3/nsswitch/winbindd_util.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'source3/nsswitch/winbindd_util.c') diff --git a/source3/nsswitch/winbindd_util.c b/source3/nsswitch/winbindd_util.c index b1ced5b77f..7a3a7bdf28 100644 --- a/source3/nsswitch/winbindd_util.c +++ b/source3/nsswitch/winbindd_util.c @@ -290,15 +290,6 @@ static void trustdom_recv(void *private_data, BOOL success) &cache_methods, &sid); setup_domain_child(domain, &domain->child, NULL); - if (!domain->internal) { - /* Even in the parent winbindd we'll need to - talk to the DC, so try and see if we can - contact it. Theoretically this isn't neccessary - as the init_dc_connection() in init_child_recv() - will do this, but we can start detecting the DC - early here. */ - set_domain_online_request(domain); - } } p=q; if (p != NULL) -- cgit