dbad
by samba.anu.edu.au with ESMTP id <S13075824AbQADQ60>;
Wed, 5 Jan 2000 03:58:26 +1100
Received: from avantel by seraph.uunet.ca with UUCP id <155705-27665>;
Tue, 4 Jan 2000 11:58:08 -0500
Received: from localhost (localhost [[UNIX: localhost]])
by lewis.avantel.com (8.8.8/8.8.8) id LAA06165
for samba@samba.org; Tue, 4 Jan 2000 11:55:04 -0500
From: "Alex H. Vandenham" <alex@avantel.com>
Organization: Avantel Systems
To: Multiple recipients of list SAMBA <samba@samba.org>
Subject: Re: Samba and WINS
Date: Tue, 4 Jan 2000 11:52:42 -0500
X-Mailer: KMail [version 1.0.17]
Content-Type: text/plain
MIME-Version: 1.0
Message-Id: <00010411523000.05881@lewis>
Content-Transfer-Encoding: 8BIT
X-KMail-Mark:
Return-Path: <alex@avantel.com>
X-Orcpt: rfc822;samba@samba.org
Thanks, I checked those files and here's what I found;
On Tue, 04 Jan 2000, Giulio Orsero wrote:
>> browsers. How do I get the name resolving to work without having to
create
>> and maintain those LMHOSTS files?
> check with winipcfg that the win pc's really use samba as wins server
both MS hosts show the correct address for the WINS server in winipcfg (note
that the test set-up is not internet connected so I have used some IP addresses
which are outside the "private network" address space) However only
the local
MS pc has actually registered (shows up in the wins.dat file - see below)
> check if /path/samba/lock/wins.dat contains all the name/ip mappings.
wins.dat contains the mappings for the samba server on the local and remote
segments, plus the mapping for the local MS box but NOT the name mapping
for the remote MS box. There is a wins.dat file only on the hosts acting as the
(samba) wins server on the local segment.
So it looks to me as if the remote MS box has not registered with the WINS
server even though winipcfg shows the correct address for the primary
(samba) wins server.
> you need "domain master = yes"
that is set to "yes" on both samba servers
> you need a master browser which syncs with samba on the subnet without
> samba. samba docs and MSkb say this master browser can be a win9x pc.
> the new samba book says you need samba/nt on all the subnets.
> However, see what pc is the master browser using nbtstat or nmblookup.
Both subnets have samba servers and they are the master browsers. The two
browse.dat files do NOT contain the hostname of the remote samba servers but
they do contain the name of both workgroups.
When I remove the lmhosts files from both samba servers, then the local MS box
can see the remote MS box but can not browse it. At the other end there is no
such problem.
If anyone can suggest what I should check to see why that remote MS box has not
registered with the Samba WINS server, that would be much appreciated.
TIA
Alex Vandenham
Avantel Systems