Failed to read keytab [default]

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

SOLUTION:
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

ref. https://wiki.samba.org/index.php/Samba_Member_Server_Troubleshooting

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 *

VAMOVE *

*