summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-06-22 23:56:20 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:18:56 -0500
commit85e426fc76c606e453f4eddd520b2ba9410d8a9b (patch)
tree4d9cfd07551efcbbed107bad45a3a050553f4a10 /source3
parent58edac3c27147435eadad7c4e0e7c0651ac36a7e (diff)
downloadsamba-85e426fc76c606e453f4eddd520b2ba9410d8a9b.tar.gz
samba-85e426fc76c606e453f4eddd520b2ba9410d8a9b.tar.bz2
samba-85e426fc76c606e453f4eddd520b2ba9410d8a9b.zip
r16479: When dcip_to_name failed to get the name of the ip in saf_servername we
cannot put saf_name in the failed conn cache as it's uninitialized. Store saf_servername (the ip) in that case. Volker, please check. Guenther (This used to be commit 098a87f492f69caeb523478a7ebcd0e3f636497d)
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 ea4d8503c1..c1276bd961 100644
--- a/source3/nsswitch/winbindd_cm.c
+++ b/source3/nsswitch/winbindd_cm.c
@@ -783,7 +783,7 @@ static NTSTATUS cm_open_connection(struct winbindd_domain *domain,
fstrcpy( domain->dcname, saf_name );
} else {
add_failed_connection_entry(
- domain->name, saf_name,
+ domain->name, saf_servername,
NT_STATUS_UNSUCCESSFUL);
}
}