Failed to read keytab [default]

When starting sssd in centos 7 I was getting this
Failed to read keytab [default]: No such file or directory

rm /etc/krb5.keytab
klist -k
vi /etc/samba/smb.conf
security = ads
dedicated keytab file = /etc/krb5.keytab
kerberos method = secrets and keytab
realm =

service smb restart
net ads testjoin
net ads leave -U Administrator
net ads join -U Administrator
net ads keytab create -U Administrator
klist -k

service sssd restart


One thought

  1. Thanks for this incredible, helpfully and very easy manual ..
    I’ve tried to find something for few hours ,and this one helped me in 30 seconds !!!
    Cool !!

Leave a Reply

Your email address will not be published. Required fields are marked *