[Samba] Re: Change hostname from "localhost"

2004-03-19 Thread Bjørn Næsby Nielsen

"Neil Muller" <[EMAIL PROTECTED]> skrev i en meddelelse
news:[EMAIL PROTECTED]
>In your hosts file try
>
>192.168.1.11
>poweredge   poweredge
>
>Neil


Hi Neil, and thanks. I've done this adjustsment (and then some), and it has
finally started working. Phew.

So it seems the LMHOSTS file used by Samba is a kind of "backup" for the
actual hosts file? Why the need for two, almost identical files? (I am
trying to get to grips with the basics of Samba, but couldn't find any info
on this)



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba


[Samba] Change hostname from "localhost"

2004-03-18 Thread Bjørn Næsby Nielsen
OK I have tried what seems like every possible method, but the bloody thing
just won't work. So I am asking for help from this list...

I have set up RH7.3, using the out-of-the-box SMB configuration, having
added only the name of my workgroup, and uncommented the allowed range of IP
adresses (which match our LAN network's 192.168.1 ).

The problem is, that when I use a PC to connect to my linux box, the
hostname of my Samba Server is "localhost" which of course isn't acceptable
since it already exist. I would like it to be "poweredge", and have tried
changing the network host configuration accordingly, but I am uncertain how
it should be done.

This is how my host configuration looks like on the machine acting as Samba
Server :

IP Hostname  Alias
127.0.0.1  localhost.localdomainlocalhost
192.168.1.11localhost   poweredge

...and inside the "LMHOSTS" file, it reads:

127.0.0.1 poweredge
192.168.1.11 poweredge

somewhere along the line I must have messed things up...but the solution is
probably simple?

T.I.A.

Bjorn Nesby



-- 
To unsubscribe from this list go to the following URL and read the
instructions:  http://lists.samba.org/mailman/listinfo/samba