diff options
author | Jeremy Allison <jra@samba.org> | 2006-09-14 09:11:30 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:44 -0500 |
commit | ddbf92325339f36c6bf38b8a2e266ecdf2b43f1b (patch) | |
tree | b6ac37fae32a388f8c03a1addd7cfa80ac60d251 /source3/nsswitch/winbindd_dual.c | |
parent | e6b7c350c1f88c7b92e012be03cb3af207ff4187 (diff) | |
download | samba-ddbf92325339f36c6bf38b8a2e266ecdf2b43f1b.tar.gz samba-ddbf92325339f36c6bf38b8a2e266ecdf2b43f1b.tar.bz2 samba-ddbf92325339f36c6bf38b8a2e266ecdf2b43f1b.zip |
r18506: Fix online requests to cause an immediate DC connection.
Jeremy.
(This used to be commit 03b1699fa7d94fd637ff8c3bd2c59358673d2607)
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r-- | source3/nsswitch/winbindd_dual.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c index 94f7c49c95..db21132a80 100644 --- a/source3/nsswitch/winbindd_dual.c +++ b/source3/nsswitch/winbindd_dual.c @@ -608,13 +608,13 @@ static void child_msg_online(int msg_type, struct process_id src, void *buf, siz winbindd_flush_nscd_cache(); - /* Mark everything online - delete any negative cache entries - to force a reconnect on the next query from the parent to this child. */ + /* Try and mark everything online - delete any negative cache entries + to force a reconnect now. */ for (domain = domain_list(); domain; domain = domain->next) { DEBUG(5,("child_msg_online: marking %s online.\n", domain->name)); - set_domain_online(domain); winbindd_flush_negative_conn_cache(domain); + set_domain_online_request(domain); } } |