The pam_krb5 module is not resolving KDC for the requested realm while kinit works
Issue
The pam_krb5 module logs "Cannot resolve network address for KDC in requested realm" while:
- Other kerberos tools work (for example kinit).
- The krb5.conf seems to be correct and dns_lookup_kdc is not in use.
Environment
Red Hat Enterprise Linux 5
Red Hat Enterprise Linux 6
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.
