When starting sssd in centos 7 I was getting this error:  “Failed to read keytab [default]”
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

Check out my post on how to Authenticate Linux to Active Directory without joining the domain , using only port 88 via Kerberos

https://www.buymeacoffee.com/felipeferreira
Tags:

2 thoughts on “Failed to read keytab [default]

  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 *

*