[389-devel] Please review: [389 Project] #47523: Set up replcation/agreement before initializing the sub suffix, the sub suffix is not found by ldapsearch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/389-devel





[Index of Archives]     [Fedora Directory Announce]     [Fedora Users]     [Older Fedora Users Mail]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Review]     [Fedora Art]     [Fedora Music]     [Fedora Packaging]     [CentOS]     [Fedora SELinux]     [Big List of Linux Books]     [KDE Users]     [Fedora Art]     [Fedora Docs]

  Powered by Linux