[Samba] 4.2.2 as AD with 2 DCs: database incoherency

Reindl Harald h.reindl at thelounge.net
Thu Jul 16 15:31:12 UTC 2015

Am 16.07.2015 um 17:18 schrieb Rowland Penny:
> On 16/07/15 13:27, Reindl Harald wrote:
>> Am 16.07.2015 um 14:02 schrieb Rowland Penny:
>>> /etc/hosts should be:
>>>    localhost.localdomain    localhost
>> uhm no - you want normally resolved to localhost and hence
>>    localhost    localhost.localdomain
> Ah NO, only if you are using a brain dead OS like red-hat :-)
>  From 'man hosts'
> For each host a single line should be present with the following
> information:
>                IP_address canonical_hostname [aliases...]
> Optional aliases provide for name changes, alternate spellings, shorter
> hostnames,  or  generic  hostnames  (for  example, localhost)

you quote exactly what i said
gethostbyaddr will answer the canonical_hostname and not a random alias

the real name for is always localhost and hence that should 
not be the alias, frankly nobody needs the localhost.localdomain at all

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20150716/1c2d4dde/signature.sig>

More information about the samba mailing list