[Samba] I can't join my Linux client to my Samba DC.

me at tdiehl.org me at tdiehl.org
Thu Jun 3 00:13:20 UTC 2021


On Tue, 1 Jun 2021, Rowland penny via samba wrote:

> On 01/06/2021 15:36, Jason Long wrote:
>>  Thank you.
>>  My Samba DC has a DHCP server too.
>
>
> I do hope your DC has a fixed IP.
>
>>  My "/etc/hosts" file contents is:
>>
>>  # cat /etc/hosts
>>  127.0.0.1   localhost localhost.localdomain localhost4
>>  localhost4.localdomain4
>> :: 1         localhost localhost.localdomain localhost6 
>> :: localhost6.localdomain6
>
>
> Can someone tell me where 'localdomain' actually came from ? 127.0.0.1 is the 
> ipaddress for the local host or 'lo', hence 'localhost', as far as I am 
> aware, there is no such thing as 'localdomain'

It seems to be a RedHatism. Every Red Hat system I have installed in recent years
adds that stupidity to the hosts file. I have ansible rip it out. :-)

Regards,

-- 
Tom			me at tdiehl.org


More information about the samba mailing list