[Date Prev][Date Next] [Chronological] [Thread] [Top]

sycreplica cant work ?




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