[Samba] BUG report: smbclient

John H Terpstra jht at samba.org
Mon Mar 31 18:21:50 GMT 2003


On Mon, 31 Mar 2003, mark wrote:

> On Mon, 31 Mar 2003 16:34:28 +0000 (GMT)
> John H Terpstra <jht at samba.org> wrote:
>
> > Mark,
> >
> > I dusted off my crytal ball and as I was polishing it there was a
> > small response. :)
> >
> > Now back to your issue:
> >
> > 1. Is your samba server set up with "wins support = Yes"?
> >
> > 2. Do ALL your MS Windows clients TCP/IP configurations for WINS
> > Address have the IP address of your Samba server that is running per
> > 1. above?
> >
> > 3. Have you checked in the wins.dat file on the samba server that ALL
> > your MS Windows clients have entries for:
> > 	MACHINENAME<0x00>
> > 	MACHINENAME<0x03>
> > 	MACHINENAME<0x20>
> >
> > If not, this is the first issue that must be resolved.
> >
> > Let me know what you find here, then if necessary we can take a few
> > more steps together (we can do this without a crystal ball if we work
> > at it).
> >
> > Cheers,
> > John T.
> >
> John,
> Always use Windex, not a waxy compound for the crystal balls.  :)
>
> My samba server is set for wins support = yes.
>
> I use dhcpd (version 3 some-odd) to assign ip addresses, gateways,
> domain names and netbios servers. When I checked wins.dat, the windowsxp
> machines did not have a"0x03" entry. (it did have 0x20 and 0x00)
> Neither of them. But the windowsme machine did. Also my openbsd machine
> when I started smbd and nmbd had all three entries.
>
> I have a feeling that I might have to do some type of configuration on
> the XP machines in order to get them registered properly in my wins
> server.  But I'm too lazy to check that out right now.  Because my
> wife is sick and I have to cook dinner again.  If someone else
> knows, I'd be happy to hear, but if I find out myself I'll announce it
> to the list. Unless I'm totally wrong. In which case I'll go back to
> lurking.
>
> mark
>
> ps  I just added a
>
> option netbios-node-type 8;
>
> line to see if that would force a wins entry for the winxp machines.  It
> didn't.  (8 seems to be hybrid, first try wins, then bcast).

Did you restart dhcpd and then did you reboot the WinXP machine?

Suggest you use Ethereal to capture the WinXP startup to see if it sends
the WINS server the correct name registration requests. If your WINS
server does not have all three entries your name resolution for the WinXP
client is broken.

- John T.
-- 
John H Terpstra
Email: jht at samba.org


More information about the samba mailing list