Lost in samba...

Richard Sharpe rsharpe at ns.aus.com
Tue Apr 30 09:34:18 GMT 2002

On Tue, 30 Apr 2002, David LIBAULT wrote:

> 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 ? ;-)).

Is your Win98 system in the same subnet as your Samba server? 

If not, are you configuing WINS? You can use DHCP on your dial-up server 
to give Win98 the WINS server addresses if you want, or you can hard-code 
> 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.

Richard Sharpe, rsharpe at ns.aus.com, rsharpe at samba.org, 
sharpe at ethereal.com

More information about the samba-technical mailing list