<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
On 02/26/2011 12:35 PM, Simo Sorce wrote:
<blockquote cite="mid:20110226123517.0be3134b@willson.li.ssimo.org"
type="cite">
<pre wrap="">On Fri, 25 Feb 2011 17:04:10 -0500
Simo Sorce <a class="moz-txt-link-rfc2396E" href="mailto:ssorce@redhat.com"><ssorce@redhat.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Fri, 25 Feb 2011 15:19:25 -0500
Simo Sorce <a class="moz-txt-link-rfc2396E" href="mailto:ssorce@redhat.com"><ssorce@redhat.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">On Fri, 25 Feb 2011 14:49:27 -0500
Adam Young <a class="moz-txt-link-rfc2396E" href="mailto:ayoung@redhat.com"><ayoung@redhat.com></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">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
</pre>
</blockquote>
<pre wrap="">
ah no sorry this is the error, kinit failing ...
now on why this happens ...
Simo.
</pre>
</blockquote>
<pre wrap="">
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.
</pre>
</blockquote>
<pre wrap="">
The attached patch should fix nsupdates on machines configured like
this one.
Simo.
</pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Freeipa-devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Freeipa-devel@redhat.com">Freeipa-devel@redhat.com</a>
<a class="moz-txt-link-freetext" href="https://www.redhat.com/mailman/listinfo/freeipa-devel">https://www.redhat.com/mailman/listinfo/freeipa-devel</a></pre>
</blockquote>
<br>
<br>
ACK. Pushed to master<br>
</body>
</html>