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

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

Categories: HowTo, Linux Tags: , , ,
  1. No comments yet.
  1. No trackbacks yet.