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

Re: sycreplica cant work ?

>      searchbase="siemensLAC=010,dc=ctc,dc=com"
> 	ldapsearch -b "dc=ctc,dc=com" -D "cn=admin,o=users,dc=com" -x -w aaa

The base from your "provider OK" example search versus your consumer are
different. This may or may not be intended. Maybe you should try -b
"siemensLAC=010,dc=ctc,dc=com" and see if that is noSuchObject?

> then start provider & consumer:
> 	#/usr/local/openldap/libexec/slapd &
> 	#/usr/local/openldap2/libexec/slapd -h ldap://localhost:999 &

I'm not sure if you compiled slapd differently in each case, but I would
consider having different slapd.conf files (-f option), just to make sure
your provider<>consumer configs aren't getting confused.

> be synchronized. i caputrued packages by etheral, it shows that when
> consumer sends search message, provider gives back "noSuchObject" (error
> code 0x20) .

Check that Ethereal shows these in the direction (in your case, the
different ports) that you think is right.

Anyway, those are just points to think about. My foremost advice would be
to go into the "tests" directory and "./run test017" (or any of the other
syncrepl tests), make sure they pass OK, and then cannibalize them as
examples until you're comfortable with your own config.