diff options
author | Günther Deschner <gd@samba.org> | 2006-06-22 23:56:20 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:18:56 -0500 |
commit | 85e426fc76c606e453f4eddd520b2ba9410d8a9b (patch) | |
tree | 4d9cfd07551efcbbed107bad45a3a050553f4a10 /source3/nsswitch | |
parent | 58edac3c27147435eadad7c4e0e7c0651ac36a7e (diff) | |
download | samba-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/nsswitch')
-rw-r--r-- | source3/nsswitch/winbindd_cm.c | 2 |
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); } } |