Hi Team,
We have configured master slave openldap replication in our environment. Default NIS schema was modified for the attribute memberUid to be case insensitive. During replication after some of the records are transferred we are seeing below error.
Nov 17 08:06:57 abc.com slapd[2356]: syncrepl_message_to_entry: rid=003 mods check (memberUid: value #30 provided more than once) Nov 17 08:06:57 abc.com slapd[2356]: do_syncrepl: rid=003 rc 20 retrying
If remove the schema changes replication works fine. Could you please let us know whats going wrong with the configuration?
Thanks in advace
Regards, Aravind M D
--On Saturday, November 17, 2018 9:38 PM +0530 aRaviNd ambadiaravind@gmail.com wrote:
If remove the schema changes replication works fine. Could you please let us know whats going wrong with the configuration?
Most likely, you have two values in the attribute that are different when case sensitive, but the same when case insensitive, i.e.:
memberUID: AbcD memberUID: aBCd
Before your schema change, these are considered different. AAfter your schema change, they are the same. So when a modification occurs to the attribute they are now seen as duplicate values and it breaks replication.
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org