[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
provider/consumer: entries have identical CSN
- To: openldap-technical@openldap.org
- Subject: provider/consumer: entries have identical CSN
- From: Walter Werner <wernwa@gmail.com>
- Date: Fri, 15 Mar 2013 10:58:16 +0100
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:date:message-id:subject:from:to :content-type:content-transfer-encoding; bh=9CuAa4mookxgFTUGktEy358SfW6X+/pibWvGOdi2Y4A=; b=xhjo0LvzGiZqQEA3kaKntL0A/m8+tLb9aeDD50dcnj5weKjIHD2/GTM/+cCLyLu414 FHhDhVfAk1tDfCIolnWe1ZU8nDCbocu/pO6iqqwlDJ9OSSQAnQ2O4lkJ275j/LgMingk HD4WQWnBoeoeljf9qqYwAMm8eSUFXdM4ld+AnG2FmvGyC+ae7v9JzD5fO3nQcEiriV2T Sf6WDNNb7HHHRW2niF8iyYd5NUP2icocK259q+7la2X+YRZnXJO9kEABXvFCTW3EKKlE i+fZcyy71jrmHo9KOQYciCZZwJ4BIlLKYpm7HQMTwQmNqxnwaxQ1InELt7qkXh0K5d6k 1uMA==
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.