Cannot authenticate to Active Directory using pam_krb5 and receive the error: 'host/server.example.com@EXAMPLE.COM': Server not found in Kerberos database
Issue
- After installing the krb5.keytab the system does not allow me to login. I get the following on message in the /var/log/secure file.
<date> server sshd[<pid>]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=x.x.x.x user=username
<date> server sshd[<pid>]: pam_krb5[<pid>]: TGT failed verification using keytab and key for 'host/server.example.com@EXAMPLE.COM': Server not found in Kerberos database
<date> server sshd[<pid>]: pam_krb5[<pid>]: authentication fails for 'username' (username@EXAMPLE.COM): Authentication failure (Success)
- We are trying to authenticate against an Active Directory server using pam_krb5
Environment
- Active Directory
- Red Hat Enterprise Linux
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
