[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
sycreplica cant work ?
- To: OLdap-SoftWare <openldap-software@OpenLDAP.org>
- Subject: sycreplica cant work ?
- From: William <zzw_happy@yahoo.com.cn>
- Date: Tue, 08 Nov 2005 17:51:39 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com.cn; h=Received:Date:To:Subject:From:Content-Type:MIME-Version:Content-Transfer-Encoding:Message-ID:User-Agent; b=eQ4TzxyBALmxwwWR1LDxGUDDbe8WFOxRShyfIu7M0/pimXOkIcL8P8BQKkLMqXLi+DMQKV0NbVqJifn5mzV9hVArGDW7j8TwcW3V7R3r/qSf93FlBT0V/KJV8Npwfwo1AJog2KJblsTrgGXvrxd+IatyYLJS7aDjJ73rhycnYoo= ;
- User-agent: Opera M2/8.50 (Linux, build 1358)
HI, all
To test syncreplica, i installed 2 opendldap2.3.11 on my PC,
one is listening on port 389 and the other 999,
and i have set slapd.conf as following:
Provider:
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
Consumer:
syncrepl rid=110
provider=ldap://localhost
type=refreshAndPersist
interval=00:00:00:60
retry="10 +"
searchbase="siemensLAC=010,dc=ctc,dc=com"
scope=sub
sizelimit=0
timelimit=0
schemachecking=off
bindmethod=simple
binddn="cn=admin,o=users,dc=com"
credentials=aaa
then start provider & consumer:
#/usr/local/openldap/libexec/slapd &
#/usr/local/openldap2/libexec/slapd -h ldap://localhost:999 &
search the provider is OK:
ldapsearch -b "dc=ctc,dc=com" -D "cn=admin,o=users,dc=com" -x -w aaa
but when i modified some data of provider, the consumer seemed not
be synchronized. i caputrued packages by etheral, it shows that when
consumer sends search message, provider gives back "noSuchObject" (error
code 0x20) .
any ideas ???
thanks !
--
Regards.
__________________________________________________
Do You Yahoo!?
雅虎免费G邮箱-中国第一绝无垃圾邮件骚扰超大邮箱
http://cn.mail.yahoo.com/?id=77071