You can create a 'hosts' file, just like unix/linux hosts files in
\windows\system32\drivers\etc and that may work for you.
--Jesse

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]
On Behalf Of Aravinda Guzzar
Sent: Wednesday, October 04, 2006 12:59 PM
To: Toni Casueps
Cc: samba@lists.samba.org
Subject: Re: [Samba] PDC as wins server

Hi,

>>>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 don't think samba is designed to do the job of WINS/DNS which
basically
resolves the IP-hostname.

The "/etc/hosts", "/etc/samba/lmhosts" and "wins support is basically
for
host operating system or for samba. I don't think you can get the
hostname
resolved through these entries from the client. The wins support options
enables the host system to register itself in the WINS server.

For client to resolve the IP-hostname you can either use WINS, DNS or
edit
the file
"c:\windows\system32\drivers\etc\hosts"
enter the IP and hostname in windows client and reload it ( i have
forgotten
the actual command to reload/purge).

HTH
Aravinda
(Views expressed here are my personal opinion ONLY)
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

Reply via email to