On Fri, 25 Feb 2011 15:19:25 -0500
Simo Sorce <sso...@redhat.com> wrote:

> On Fri, 25 Feb 2011 14:49:27 -0500
> Adam Young <ayo...@redhat.com> wrote:
> 
> > 2011-02-24 20:46:06,851 DEBUG stderr=
> > 2011-02-24 20:46:06,878 DEBUG args=/usr/bin/kinit -k
> > -t /etc/krb5.keytab 2011-02-24 20:46:06,879 DEBUG stdout=
> > 2011-02-24 20:46:06,879 DEBUG stderr=kinit: Hostname cannot be
> > canonicalized when creating default server principal name
> 
> ah no sorry this is the error, kinit failing ...
> now on why this happens ...
> 
> Simo.
> 
> 

Ok this happens becaue /etc/hosts doesn't have an entry for the
hostname and DNS doesn't still resolve it (chicken/egg)

Please open a ticket, the fix is to pass the principal name as argument
of the kinit command so that it doesn't have to go thorugh name
resolution to understand what name to use.

Simo.

-- 
Simo Sorce * Red Hat, Inc * New York

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to