[PATCH] winbind: Store the nbt name in the cache!
Andreas Schneider
asn at samba.org
Wed Aug 14 08:09:59 MDT 2013
Followup patch for
BUG: https://bugzilla.samba.org/show_bug.cgi?id=10082
Thanks to Jim Brown <jim.brown at rsmas.miami.edu>
Signed-off-by: Andreas Schneider <asn at samba.org>
---
source3/winbindd/winbindd_cm.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index d89ca95..340cf85 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);
--
1.8.3.1
More information about the samba-technical
mailing list