[Freeipa-devel] [PATCH] 0093, WAS: Re: Adding client on RHEL 6 fails to get DNS entry

Adam Young ayoung at redhat.com
Tue Mar 1 22:51:31 UTC 2011


On 02/26/2011 12:35 PM, Simo Sorce wrote:
> On Fri, 25 Feb 2011 17:04:10 -0500
> Simo Sorce<ssorce at redhat.com>  wrote:
>
>> On Fri, 25 Feb 2011 15:19:25 -0500
>> Simo Sorce<ssorce at redhat.com>  wrote:
>>
>>> On Fri, 25 Feb 2011 14:49:27 -0500
>>> Adam Young<ayoung at 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.
> The attached patch should fix nsupdates on machines configured like
> this one.
>
> Simo.
>
>
>
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel


ACK.  Pushed to master
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20110301/a919b0f4/attachment.htm>


More information about the Freeipa-devel mailing list