Lost in samba...

David LIBAULT david.libault at inventel.fr
Tue Apr 30 02:07:01 GMT 2002


Hi all,

I am still trying to figure out why my Win98 PC connected with a PPP link to 
my linux box runing samba-2.2.3a doesn't get registered in the browse.dat 
file. The linux box is setup as a wins server, and domain + local master 
browser (how could I make it simpler ? ;-)).

It looks like the only part of the code when the subnet_record list is 
updated is when a browse packet with command ANN_HostAnnouncement is sent by 
the host on an SMB datagram (port 138). Registration on port 137 has no 
influence on the browse list mantained by the linux box, but just on the wins 
part of it.

On the tcpdump I only see 
- traffic on port 137 (basically name registration) which looks good as I get 
the right entry in the wins.dat file
- traffic on port 138 : a browse packet with command ANN_GetBackupListReq (to 
which the linux box answers by a "GetBackupListResponse")
- and then, a TCP connection to port 139 (handled by smbd) to get the browse 
list.

As the Win98 PC never "announce itself" on port 138, it never gets registered 
in the browse.dat file.

Is it something wrong in the Win98 PC ? What am I missing ?

Thank you for your help.

David.





More information about the samba-technical mailing list