summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-05 17:22:49 +0200
committerGünther Deschner <gd@samba.org>2008-05-06 09:41:41 +0200
commit5c02872a10c3f650c31ec7ce78fa6732d6646961 (patch)
tree226cc297add95bf393824edafff0782b3d4f5af8 /source3
parent4c2088b1c5341246d0a80ebd21abe780dd6317ec (diff)
downloadsamba-5c02872a10c3f650c31ec7ce78fa6732d6646961.tar.gz
samba-5c02872a10c3f650c31ec7ce78fa6732d6646961.tar.bz2
samba-5c02872a10c3f650c31ec7ce78fa6732d6646961.zip
dsgetdcname: use correct dc name for name cache store.
Guenther (This used to be commit ce1556d0fb993b78f02ac4cc4f8a45ab7a0b5397)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/dsgetdcname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index fbc3bda6e4..de647ad8bf 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -830,7 +830,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx,
{
dc_hostname = tmp_dc_name;
dc_domain_name = talloc_strdup_upper(mem_ctx, domain_name);
- namecache_store(dc_name, NBT_NAME_SERVER, 1, &ip_list);
+ namecache_store(tmp_dc_name, NBT_NAME_SERVER, 1, &ip_list);
goto make_reply;
}
}