summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cache.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2014-09-23 10:35:21 -0700
committerAndrew Bartlett <abartlet@samba.org>2014-10-08 01:09:50 +0200
commit91d6f603b196d1f10500dff312d614d8d46cb846 (patch)
treee552fc7760b54d5176642d3f693218e24fc8b364 /source3/winbindd/winbindd_cache.c
parent3783f49abd77887f32bc2d95be50468ac1f5f81b (diff)
downloadsamba-91d6f603b196d1f10500dff312d614d8d46cb846.tar.gz
s3-winbindd: Pass the whole winbindd_domain to invalidate_cm_connection()
Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
-rw-r--r--source3/winbindd/winbindd_cache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index 06b29de5dfe..b303ae904cc 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -1521,7 +1521,7 @@ do_query:
if (NT_STATUS_EQUAL(status, NT_STATUS_UNSUCCESSFUL)) {
DEBUG(3, ("query_user_list: flushing "
"connection cache\n"));
- invalidate_cm_connection(&domain->conn);
+ invalidate_cm_connection(domain);
}
if (NT_STATUS_EQUAL(status, NT_STATUS_IO_TIMEOUT) ||
NT_STATUS_EQUAL(status, NT_STATUS_DOMAIN_CONTROLLER_NOT_FOUND)) {