Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

When trying to log into a new box setup with pam_krb auth I get the following:

error guessing name of local host principal
TGTR failed verification using keytab: Hostname cannot be canonicalized

This sounds like a DNS verification error of some sort.. Assuming I am on the right track, does anyone know more specifically what it is failing to resolve (client, server, or auth server hostname, PTR lookup)?

share|improve this question
add comment

2 Answers

Alternately, add

[appdefaults]
  validate = false

to /etc/krb5.conf (credit: http://www.linuxforums.org/forum/red-hat-fedora-linux/183923-rhel5-6-issues-ldap-krb5-authentication.html#post877263)

share|improve this answer
add comment
up vote 3 down vote accepted

Creating a DNS A record and PTR record for the server that was showing this error resolved the issue.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.