summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2006-02-15 18:45:25 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:10:09 -0500
commita26167041f711e0674b2eac5bcb216cc6326a380 (patch)
tree48218eb20954a2cd8b56efdae50926dad2212bdc /source3
parentca5efdc66af2e72b5031b66d19817cc232e9e8cf (diff)
downloadsamba-a26167041f711e0674b2eac5bcb216cc6326a380.tar.gz
samba-a26167041f711e0674b2eac5bcb216cc6326a380.tar.bz2
samba-a26167041f711e0674b2eac5bcb216cc6326a380.zip
r13515: Make sure to store the correct domain name in the server affinity cache.
(This used to be commit a918e4ac2426d4cb3cd526c4fad7480b832e6a12)
Diffstat (limited to 'source3')
-rw-r--r--source3/nsswitch/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
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)) {