r13515: Make sure to store the correct domain name in the server affinity cache.
authorGerald Carter <jerry@samba.org>
Wed, 15 Feb 2006 18:45:25 +0000 (18:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:09 +0000 (11:10 -0500)
source/nsswitch/winbindd_cm.c

index 9a1831e545958b351a9e7c3b720ba847d80e9158..988d6d6b1899630e9c57aa0c5045d98164db275a 100644 (file)
@@ -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)) {