summaryrefslogtreecommitdiff
path: root/source/nmbd
diff options
context:
space:
mode:
authorSamba Release Account <samba-bugs@samba.org>1996-08-09 18:05:34 +0000
committerSamba Release Account <samba-bugs@samba.org>1996-08-09 18:05:34 +0000
commit2b9475cc5fda4b272f19c4f168d3f00363c8042b (patch)
treeba4f27c6d20f620cd819a04ad172081c5e6f2ce6 /source/nmbd
parent6567bac5d13f32729fe51eba1e904268c6ee00be (diff)
downloadsamba-2b9475cc5fda4b272f19c4f168d3f00363c8042b.tar.gz
applying login updates from jim@oxfordcc.co.uk, sent in by
lewis2@server.uwindsor.ca. rest of this patch to follow. bug in interface.c - uninitialised pointer. nmbd has 0x20 as well as 0x0 NetBIOS name when lmhosts entry is added. lkcl
Diffstat (limited to 'source/nmbd')
-rw-r--r--source/nmbd/nmbd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/nmbd/nmbd.c b/source/nmbd/nmbd.c
index e2a4bdeb67f..5c3be920f5f 100644
--- a/source/nmbd/nmbd.c
+++ b/source/nmbd/nmbd.c
@@ -296,6 +296,7 @@ static void load_hosts_file(char *fname)
struct subnet_record *d = find_subnet(ipaddr);
if (d)
{
+ add_netbios_entry(d,name,0x00,NB_ACTIVE,0,source,ipaddr,True,True);
add_netbios_entry(d,name,0x20,NB_ACTIVE,0,source,ipaddr,True,True);
}
}