[Samba] PDC as wins server
casueps at hotmail.com
Wed Oct 4 10:45:25 GMT 2006
No. I hoped that I could use my existing Samba server to resolve addresses
with WINS. That way I wouldn't need to set up a DNS server and change the
DNS configuration in each Windows client.
I have found a wins.dat file in the Samba server and I saw that it does not
reflect changes in the lmhosts file. I also tried to restart nmbd but it
still doesn't resolve addresses.
>Do you have a DNS server? if not that might help you a lot.
> > We have a Samba server which acts mainly as file server, but we want
> > it to
> > resolve host names for local machines. I have written some IP-hostname
> > lines
> > both in /etc/hosts and /etc/samba/lmhosts, and I have "wins support =
> > yes"
> > in smb.conf, but then from a Windows client I try to ping one of those
> > hosts
> > and it can't resolve the address.
> > I have tried some combinations of "name resolve order" and setting
> > "dns
> > proxy" to yes, but it's the same (now I left "dns proxy" to no again).
> > I
> > can't see in the logs that another host is making itself the WINS
> > server
> > (that happened some time ago but now it doesn't)
> > It resolves addresses of other hosts that appear in the Windows
> > "Network
> > neighborhood" and the address of the server from a Windows client, but
> > there
> > are other machines in the network that don't appear there (Linux
> > machines
> > that don't use the Samba server or even printers)
> > I don't know if this is important, but netstat in the server says that
> > port
> > 1512 is not listening.
> > Thanks in advance.
More information about the samba