From 7080917a87af578f451dfc840ed9d1e47a8a865b Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Wed, 14 Aug 2013 16:50:13 -0700 Subject: Followup patch for BUG: https://bugzilla.samba.org/show_bug.cgi?id=10082 Thanks to Jim Brown Signed-off-by: Andreas Schneider Reviewed-by: Volker Lendecke Reviewed-by: Jeremy Allison Autobuild-User(master): Jeremy Allison Autobuild-Date(master): Thu Aug 15 03:46:20 CEST 2013 on sn-devel-104 --- source3/winbindd/winbindd_cm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/winbindd') 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); -- cgit