[Samba] Failed to find cifs/fs-share at dom.corp (kvno 109) in keytab

Rowland penny rpenny at samba.org
Tue Nov 5 16:05:37 UTC 2019

On 05/11/2019 15:55, L.P.H. van Belle via samba wrote:
> Hai,
>>> Change this one.
>>> /etc/hosts
>>> fs-a.dom.corp fs-a oldsamba  # Old/wrong
>>> fs-a.dom.corp fs-a oldsamba.dom.corp oldsamba  #
>> new/correct
>>> Or
>>> fs-a.dom.corp fs-a oldsamba.dom.corp  # new/correct
>> No, none of them are correct
> No, Rowland, your really wrong here. ( i dont say that often.. )  :-p
> But i give you the doubt, once.. ;-), so show me why that is incorrect..
>>> Here i personaly preffer :
>>> fs-a.dom.corp fs-a
>> But that is.
> All examples i showed are correct, how people use it, is up to them.
> I show why i say it is correct. what i showed complies with RFC's.
> https://tools.ietf.org/html/rfc952
> https://tools.ietf.org/html/rfc1123
> And handy to know.
> https://support.microsoft.com/en-us/help/2269810/microsoft-support-for-single-label-domains
> Format is :
> IP	FQDN 	ALIAS (Optional other Aliasses.)
> I have things like this.
> IP hostn1.domain1.tld hostn1 somenamehere.completlydiffernt.tld somenamehere whatever.dom.tld
> And All work fine with kerberos any alias.. because i have 1 IP for 1 hostname and 1 PTR.
> All other things, are CNAMES in DNS and if only used locally on the server then i have it in /etc/hosts.

Yes, if you are just using /etc/hosts , but AD uses dns and the dns 
version of 'alias' is CNAME


More information about the samba mailing list