[Samba] connection.tdb difference IP vs. NetBIOS name

Chris Lalancette clalancette at illuminari.org
Thu Dec 4 15:29:50 GMT 2003


Hello all,
	I am having a problem with Samba 3.0.0 (I have actually tested 
this with 3.0.1pre3, and seem to have the same problem).  I am trying to 
add a new message to smbcontrol.  I have put the code into smbcontrol.c, 
and I can deliver messages to the samba processes (using the command 
line: ./smbcontrol smbd <mymsg>).  The problem is that 
messages get delivered to the Samba processes differently depending on 
whether I am connecting to them by IP address, or by NetBIOS name.  If I 
use the NetBIOS name, the message gets delivered to all processes; if I 
use the IP address, the message really only gets delivered to the main 
smbd process (the reason that this is important is that I would like to 
not use nmbd, if possible).  I have tracked this down in the code, and it 
seems that the difference is in the way new connections get added to the 
connection.tdb database.  My question is whether this is intentional, a 
bug in the client, or a bug in Samba?  (Also, is this the right mailing 
list for this, or should I get on technical?)

DETAILS:
Server:
Redhat Linux 9, kernel 2.4.20, dual 2.4GHz Xeon, 2GB memory, Samba 3.0.0
compiled with gcc 3.2.2.

Client:
Windows 2000 (running in VMware)


Thanks in advance for your help.

From,
Chris



More information about the samba mailing list