From a26167041f711e0674b2eac5bcb216cc6326a380 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 15 Feb 2006 18:45:25 +0000 Subject: r13515: Make sure to store the correct domain name in the server affinity cache. (This used to be commit a918e4ac2426d4cb3cd526c4fad7480b832e6a12) --- source3/nsswitch/winbindd_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/nsswitch/winbindd_cm.c b/source3/nsswitch/winbindd_cm.c index 9a1831e545..988d6d6b18 100644 --- a/source3/nsswitch/winbindd_cm.c +++ b/source3/nsswitch/winbindd_cm.c @@ -360,7 +360,7 @@ static NTSTATUS cm_prepare_connection(const struct winbindd_domain *domain, /* cache the server name for later connections */ - saf_store( (*cli)->domain, (*cli)->desthost ); + saf_store( domain->name, (*cli)->desthost ); if (!cli_send_tconX(*cli, "IPC$", "IPC", "", 0)) { -- cgit