[Freeipa-devel] [PATCH] 259 Remove ipa-server-install LDAP update errors

Rob Crittenden rcritten at redhat.com
Fri May 18 18:30:27 UTC 2012


Martin Kosek wrote:
> On Thu, 2012-05-10 at 11:02 +0200, Martin Kosek wrote:
>> LDAP addEntry method raises an exception when a parent entry of
>> the entry being added does not exist. This may not be an error,
>> for example NIS entries are only added when NIS is enabled and
>> thus the NIS entry container exists.
>>
>> This patch adds an appropriate check so that we rather add
>> a debug message to ipaupgrade.log instead of raising a user
>> visible error.
>>
>> https://fedorahosted.org/freeipa/ticket/2743
>>
>
> I got inspired in ticket #2520 and prepared a better solution which
> fixes both the incorrect exception processing in ipaldap + handles
> gracefully the missing parent entry situation without emitting extra
> LDAP query. Patch is attached.
>
> Martin

ACK, pushed to master

rob




More information about the Freeipa-devel mailing list