summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_dual.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-14 16:37:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:48 -0500
commit041e49d19604e5e0688abd02869eebabf8c585b0 (patch)
tree1d554b53dc2663bde842c1989eae11e88dbb1598 /source3/nsswitch/winbindd_dual.c
parent019c89a67e799a2b3cf957dc22c9fd866bb5fcb0 (diff)
downloadsamba-041e49d19604e5e0688abd02869eebabf8c585b0.tar.gz
samba-041e49d19604e5e0688abd02869eebabf8c585b0.tar.bz2
samba-041e49d19604e5e0688abd02869eebabf8c585b0.zip
r18533: Ensure we clear out the failed connection cache for an entire
domain when going back online. Jeremy. (This used to be commit c7e4c8d0b4d109ec67d4424dd446b74b55246c72)
Diffstat (limited to 'source3/nsswitch/winbindd_dual.c')
-rw-r--r--source3/nsswitch/winbindd_dual.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/winbindd_dual.c b/source3/nsswitch/winbindd_dual.c
index db21132a80..659242e918 100644
--- a/source3/nsswitch/winbindd_dual.c
+++ b/source3/nsswitch/winbindd_dual.c
@@ -584,9 +584,9 @@ static void child_msg_offline(int msg_type, struct process_id src, void *buf, si
static void winbindd_flush_negative_conn_cache(struct winbindd_domain *domain)
{
- check_negative_conn_cache_timeout(domain->name, domain->dcname, 0);
+ flush_negative_conn_cache_for_domain(domain->name);
if (*domain->alt_name) {
- check_negative_conn_cache_timeout(domain->alt_name, domain->dcname, 0);
+ flush_negative_conn_cache_for_domain(domain->alt_name);
}
}