summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cm.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2013-08-14 16:50:13 -0700
committerJeremy Allison <jra@samba.org>2013-08-15 03:46:19 +0200
commit7080917a87af578f451dfc840ed9d1e47a8a865b (patch)
treee66b83e2909d8c048763324db77f01270825dcad /source3/winbindd/winbindd_cm.c
parentfbee7c1eabf5baa9b59878a9e3f3ae482e6a9412 (diff)
downloadsamba-7080917a87af578f451dfc840ed9d1e47a8a865b.tar.gz
samba-7080917a87af578f451dfc840ed9d1e47a8a865b.tar.bz2
samba-7080917a87af578f451dfc840ed9d1e47a8a865b.zip
Followup patch for BUG: https://bugzilla.samba.org/show_bug.cgi?id=10082
Thanks to Jim Brown <jim.brown@rsmas.miami.edu> Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Volker Lendecke <Volker.Lendecke@SerNet.DE> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Aug 15 03:46:20 CEST 2013 on sn-devel-104
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r--source3/winbindd/winbindd_cm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index d89ca95343..340cf8520a 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1212,7 +1212,7 @@ static bool dcip_to_name(TALLOC_CTX *mem_ctx,
/* try node status request */
if (name_status_find(domain->name, 0x1c, 0x20, pss, nbtname) ) {
- namecache_store(*name, 0x20, 1, &ip_list);
+ namecache_store(nbtname, 0x20, 1, &ip_list);
if (name != NULL) {
*name = talloc_strdup(mem_ctx, nbtname);