From 85e426fc76c606e453f4eddd520b2ba9410d8a9b Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 22 Jun 2006 23:56:20 +0000 Subject: 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) --- source3/nsswitch/winbindd_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/nsswitch/winbindd_cm.c') 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); } } -- cgit