[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Please help ! About syncreplica.
- To: OLdap-SoftWare <openldap-software@OpenLDAP.org>
- Subject: Please help ! About syncreplica.
- From: William <zzw_happy@yahoo.com.cn>
- Date: Thu, 10 Nov 2005 17:14:55 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Received:Date:Subject:To:From:Content-Type:MIME-Version:Content-Transfer-Encoding:Message-ID:User-Agent; b=e6UEVFwnEUB9tpNPa+uWBO0KEaF7w6QXNZZ4VwEzUmBQMSagKDu3KsR9C43coMOEn2QdW7hPso/GkCy76HgR9ninp89s/j80x5Wcd7BYzDSEa2HuhG03J5lPuXWWoSCAz7zdwKHMzuFhZ9q/n4nt+VYWFSAPhmT+zWr2ATBHa38= ;
- User-agent: Opera M2/8.50 (Linux, build 1358)
Dear all:
I am really confused about syncreplica, please help.
I installed 2 openldap2.3.11, one for provider and other for consumer.
The setting is as following:
Provider:
overlay syncprov
syncprov-checkpoint 10 10
syncprov-sessionlog 1000
Consumer:
syncrepl rid=1
provider=ldap://localhost
type=refreshAndPersist
interval=00:00:00:10
retry="5 +"
searchbase="dc=ctc,dc=com"
scope=sub
filter="(objectClass=*)"
schemachecking=off
bindmethod=simple
binddn="cn=admin,o=users,dc=com"
updatedn="cn=admin,o=users,dc=com"
credentials=aaa
then I started both and add some data:
/usr/local/openldap2.3.11/libexec/slapd &
/usr/local/openldap2.3.11/libexec/slapd -h ldap://localhost:999 -d 0
but syncreplica seems not work, and when i delete an entry in provider,
consumer crashed , printed out:
slapd: attr.c:136: attr_dup: Assertion `j < i' failed.
Aborted
and it cant be restarted unless provider is shutdown.
i changed some settings of consumer such as 'type=RefreshOnly' but had no
effect.
it has troubled me for about 2 weeks, could anyone give me some comments ?
thanks in advance.
--
Regards.
__________________________________________________
Do You Yahoo!?
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com/?id=77071