After joning the system to AD domain using 'realm' command 'net ads keytab add cifs -U Administrator' fails to add CIFS principle in kerberos keytab file
Issue
- After joining the system to AD domain using 'realm' command 'net ads keytab add cifs -U Administrator' fails with:
../source3/libads/kerberos_keytab.c:312: failed to fetch machine password
return code = -1
Environment
- Red Hat Enterprise Linux 7.x
- realmd
- sssd
- samba
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.