https://fedorahosted.org/389/ticket/47523

https://fedorahosted.org/389/attachment/ticket/47523/0001-Ticket-47523-Set-up-replcation-agreement-before-init.patch

 Bug description: If a replication is configured against a backend
 before initializing the backend with a suffix entry, an RUV entry
 is inserted first with the entryid 1. The RUV entry's entryrdn is
 added to the entryrdn index with a suffix entry which is a parent
 entry of the RUV entry having a temporary entryid 0, which was to
 be replaced with the real entryid when the real suffix entry is
 added.  But the replacement code was not executed.

 Fix description: When a real suffix is added to the entryrdn index,
 it returns DB_KEYEXIST, which used to be ignored by resetting 0
 (== SUCCESS).  This patch returns DB_KEYEXIST to the caller and let
 _entryrdn_insert_key use the info to replace the temporary entryid
 with the real one.  The error code is ignored by the other callers.

--
389-devel mailing list
389-devel@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/389-devel

Reply via email to