nmbd & netbios name -> many addreses

Peter Polkinghorne Peter.Polkinghorne at brunel.ac.uk
Fri Mar 12 15:57:50 GMT 1999


Just an update - I sent more details to Christopher R. Hertel & Luke Kenneth 
Casson Leighton - but working on the assumption it is:

	nmbd-as-WINS -> NT workstation

transaction that is at fault - ie NT workstation is expecting WINS server to 
give it one address for a NETBIOS name, but is in fact given 2 - I used 
tcpdump to sniff between biela - the Samba 2.0.3 WINS server and test-nt - a 
NT 4.0 sp3 intel box - kudos is a multihomed Samba server.

Here is the result (sorry about all the ^M):

callisto.brunel.ac.uk% ~peter/tcpdump-solaris-2.5 -i le0 -s 200 port 137^M
tcpdump-solaris-2.5: listening on le0

12:03:06.227154 test-nt.brunel.ac.uk.netbios-ns > biela.brunel.ac.uk.netbios-ns
:
>>> NBT UDP PACKET(137): QUERY; REQUEST; UNICAST^M
TrnID=0x802C^M
OpCode=0^M
NmFlags=0x10^M
Rcode=0^M
QueryCount=1^M
AnswerCount=0^M
AuthorityCount=0^M
AddressRecCount=0^M
QuestionRecords:^M
Name=KUDOS           NameType=0x20 (Server)^M
QuestionType=0x20^M
QuestionClass=0x1^M

12:03:06.228233 biela.brunel.ac.uk.netbios-ns > test-nt.brunel.ac.uk.netbios-ns
:
^M
>>> NBT UDP PACKET(137): QUERY; POSITIVE; RESPONSE; UNICAST^M
TrnID=0x802C^M
OpCode=0^M
NmFlags=0x58^M
Rcode=0^M
QueryCount=0^M
AnswerCount=1^M
AuthorityCount=0^M
AddressRecCount=0^M
^M
ResourceRecords:^M
Name=KUDOS           NameType=0x20 (Server)^M
ResType=0x20^M
ResClass=0x1^M
TTL=518141^M
ResourceLength=12^M
ResourceData=^M
[000] 40 00 86 53 10 19 40 00  86 53 60 14              @..S.. at . .S`.^M

Error sequence on NT:

H:\>nbtstat -c
 
No names in cache
 
H:\>net use p: \\kudos\@gscratch
System error 53 has occurred.
 
The network path was not found.
 
 
H:\>nbtstat -c
 
No names in cache

-- 
-----------------------------------------------------------------------------
| Peter Polkinghorne, Computer Centre, Brunel University, Uxbridge, UB8 3PH,|
| Peter.Polkinghorne at brunel.ac.uk   +44 1895 274000 x2561       UK          |
-----------------------------------------------------------------------------




More information about the samba-technical mailing list