[Samba] kinit succeeded but ads_sasl_spnego_krb5_bind failed

Rowland penny rpenny at samba.org
Sat Apr 9 09:04:53 UTC 2016

On 09/04/16 09:06, Lists wrote:
> The avahi is turned off on all unix mashines.

Are you 100% sure it is off, even better would be to remove it (or 
change '.local' to something else)

> I have allready taking a look https://wiki.samba.org/index.php/Setup_Samba_as_an_AD_Domain_Member

Try making your smb.conf look like the example one on the wiki page, 
this is known to work.

> but I have this problem kinit succeeded but ads_sasl_spnego_krb5_bind failed.

Does the machine you are trying to join, have the DCs ipaddress as the 
first (and preferably only) nameserver in /etc/resolv.conf ?

Are you using dhcp on the domain member you are trying to join ?
If so, is your DHCP server sending the full and correct data ?

Do you have a line starting in /etc/hosts, if so. I would 
suggest removing it.

If it has a fixed ip, is /etc/hosts set up correctly.

You could always try the correct, and known to work, join command:

net ads join -U Administrator


> any idea?

More information about the samba mailing list