Lost in samba...
david.libault at inventel.fr
Fri May 3 00:54:04 GMT 2002
Thank you for your answer. I found the problem.
The Win98 PC also had an ethernet connection to another network. Even though
the ethernet cable was unplugged, the ethernet interface in Win98 still had
an IP address, and that was probably causing the problem... After doing an
winipcfg and releasing the IP address on that interface, everything worked
fine (the PC now appears in the browse.dat list)... This is so weired !
On Tuesday 30 April 2002 19:39, Richard Sharpe wrote:
> 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.
More information about the samba-technical