[Freeipa-devel] [PATCH] 259 Remove ipa-server-install LDAP update errors
Martin Kosek
mkosek at redhat.com
Fri May 11 15:10:23 UTC 2012
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-mkosek-259-2-remove-ipa-server-install-ldap-update-errors.patch
Type: text/x-patch
Size: 2862 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20120511/fa04799b/attachment.bin>
More information about the Freeipa-devel
mailing list