Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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
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

Alternately, add

  validate = false

to /etc/krb5.conf (credit:

share|improve this answer

Your Answer


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.