[Freeipa-devel] [PATCH] Fix password/random logic in host plugin.

Dmitri Pal dpal at redhat.com
Wed Jan 19 20:22:22 UTC 2011


Rob Crittenden wrote:
> Pavel Zuna wrote:
>> Fix #798
>>
>> Pavel
>
>
> I don't think this is the right fix.
>
> IIRC the idea was that pre-created hosts with a password (either
> provided or random) would not have a principal. The principal would be
> added once the host is enrolled.
I though that enrollment is based only on presence of the keytab. Since
the the principal is not something that can be changed why it can't be
created when the entry is created?
Does the current logic delete the principal when the machine is
un-enrolled from CLI or GUI. It seems logical to just check the presence
of the keytab. If it is there enrolled. If not then does not.
Am I missing something?


>
> This will fix the plugin as far as adding entries but will cause
> ipa-join to report a warning that the principal already exists.
>
> I realize that this has already been pushed but the ticket should be
> re-opened and another look taken at this.
>
> rob
>
> _______________________________________________
> Freeipa-devel mailing list
> Freeipa-devel at redhat.com
> https://www.redhat.com/mailman/listinfo/freeipa-devel
>
>


-- 
Thank you,
Dmitri Pal

Sr. Engineering Manager IPA project,
Red Hat Inc.


-------------------------------
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/




More information about the Freeipa-devel mailing list