hi to everyone
I get a strange replication problem. After i didn't find a solution somewhere on internet i decided to post to this mailing-list. Probably i should describe my system settings. Both consumer and provider are running on suse 12.1. And i got the errors with openldap version 2.4.26-3.1.3. Since it is a good behavior i red somewhere on this email-list, i compiled the latest openldap v2.4.34 and could unfortunately reproduce the same error.
The Problem is that the consumer does not replicate all objects. The loglevel on the consumer is
loglevel stats sync
This is the partial output of the /var/log/messages
... Mar 15 09:17:43 ismvm22 slapd[17313]: dn_callback : entries have identical CSN cn=stud31,nisMapName=ws,ou=autofs,ou=etc,ou=Data,ou=myou,dc=mybase 20130315072217.079828Z#000000#000#000000 Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_entry: rid=010 be_search (0) Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_entry: rid=010 cn=stud31,nisMapName=ws,ou=autofs,ou=etc,ou=Data,ou=myou,dc=mybase Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_entry: rid=010 entry unchanged, ignored (cn=stud31,nisMapName=ws,ou=autofs,ou=etc,ou=Data,ou=myou,dc=mybase) Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_message_to_entry: rid=010 DN: uid=stud31,ou=Student,ou=People,ou=myou,dc=mybase, UUID: 5949c18a-cd49-4dec-85dc-68ae129c13d7 Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_entry: rid=010 LDAP_RES_SEARCH_ENTRY(LDAP_SYNC_ADD) Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_entry: rid=010 inserted UUID 5949c18a-cd49-4dec-85dc-68ae129c13d7 Mar 15 09:17:43 ismvm22 slapd[17313]: dn_callback : entries have identical CSN uid=stud31,ou=Student,ou=People,ou=myou,dc=mybase 20130315072217.081269Z#000000#000#000000 Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_entry: rid=010 be_search (0) Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_entry: rid=010 uid=stud31,ou=Student,ou=People,ou=myou,dc=mybase Mar 15 09:17:43 ismvm22 slapd[17313]: syncrepl_entry: rid=010 entry unchanged, ignored (uid=stud31,ou=Student,ou=People,ou=myou,dc=mybase) Mar 15 09:17:43 ismvm22 slapd[17313]: do_syncrep2: rid=010 LDAP_RES_SEARCH_RESULT Mar 15 09:17:43 ismvm22 slapd[17313]: do_syncrep2: rid=010 LDAP_RES_SEARCH_RESULT (4) Size limit exceeded Mar 15 09:17:43 ismvm22 slapd[17313]: do_syncrep2: rid=010 (4) Size limit exceeded Mar 15 09:17:43 ismvm22 slapd[17313]: do_syncrepl: rid=010 rc -2 retrying (58 retries left)
The config files privider: --------------------------------------------- access to dn.base="" by * read
access to dn.base="cn=Subschema" by * read
# lege ein replicator reader an der auch passwörter lesen kann limits dn.exact="cn=replicator,dc=mybase" size=unlimited time=unlimited access to * by dn.exact="cn=replicator,dc=mybase" read by * break
access to attrs=userPassword,userPKCS12 by self write by * auth
access to attrs=shadowLastChange by self write by * read
access to * by * read
database bdb suffix "dc=mybase" checkpoint 1024 5 cachesize 10000 rootdn "cn=ldapadmin,dc=mybase" directory /opt/var/openldap-data/ # Indices to maintain index objectClass eq index entryUUID eq
overlay syncprov ------------------------------------------------------------------
On the consumer side is all same except the syncrepl directive consumer:
-------------------------------------------------------
syncrepl rid=10 provider=ldap://172.22.199.121 searchbase="dc=mybase" type=refreshAndPersist retry="30 60 120 +" filter="objectClass=*" scope=sub attrs="*,+" sizelimit=unlimited timelimit=unlimited binddn="cn=replicator,dc=mybase" bindmethod=simple credentials="secred" ------------------------
Any Ideas? I am glad for every help.