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

Solution Verified - Updated -

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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.