[Samba] can't connect to shares from win systems

John H Terpstra jht at samba.org
Fri Dec 19 05:36:33 GMT 2003

On Thu, 18 Dec 2003, Ted Calouri wrote:

> popup message says" \\localhost is not available. " then goes on to say
> "you were not connected because a duplicate name exists on the network"
>  When checking the network neighborhood from my winXP boxes, the linux
> box shows as "localhost" in the computer name field.  The redhat 9 GUI
> Samba configuration does not have a variable field for computer name,
> nor do I find one when manually reviewing the .conf file.
>  I also tried editing the etc\hosts file on the XP box to associate a
> name other than "localhost" with the linux boxes IP address and still
> get the error.  Is this an issue with the computer name and if so, where
> do I name the linux box?

You need to edit /etc/hosts, and set the hostname using the system tool.

If you get stuck, the hostname is stored in /etc/sysconfig/network

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

More information about the samba mailing list