summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_util.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2007-01-25 14:08:45 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:27 -0500
commita6f30ced0aacf8c40b6ce4c2ed6812a76098af92 (patch)
tree0897dccc063a74df5067a9383dcfc5cace406009 /source3/nsswitch/winbindd_util.c
parent3f9585018d2dac8f61dbc05e6d46e1550974e9b8 (diff)
downloadsamba-a6f30ced0aacf8c40b6ce4c2ed6812a76098af92.tar.gz
samba-a6f30ced0aacf8c40b6ce4c2ed6812a76098af92.tar.bz2
samba-a6f30ced0aacf8c40b6ce4c2ed6812a76098af92.zip
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)
Diffstat (limited to 'source3/nsswitch/winbindd_util.c')
-rw-r--r--source3/nsswitch/winbindd_util.c9
1 files changed, 0 insertions, 9 deletions
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)