Home > HowTo, Linux > Failed to read keytab [default]

Failed to read keytab [default]

January 10th, 2017 Leave a comment Go to comments

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

Categories: HowTo, Linux Tags: , , ,
  1. Evgeny
    November 13th, 2017 at 08:49 | #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 !!

  1. No trackbacks yet.

VAMOVE *

*