Hi All,


I have installed openldap-2.3. on CentOS5.2 (IPs 202.144.10.1 and 202.144.10.1). I could able to get both working fine but not able to replicate the second one.

After going though the different guides/ suggestion I have added the following lines in slapd.conf :

======================================
Master (202.122.10.1)


modulepath /usr/lib/openldap
moduleload back_sql
moduleload syncprov


overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100





Slave (202.122.10.2)



modulepath /usr/lib/openldap
moduleload back_sql
moduleload syncprov





syncrepl rid=123

provider=ldap://202.122.10.1:389
type=refreshOnly
interval=00:01:00:00
searchbase="dc=test,dc=com"
bindmethod=simple
binddn="cn=Manager,dc=test,dc=com"
credentials={SSHA}zZv7BYz/QnAAnu1t25sJqW4Hqaj7qNeo


Though both the servers are running without any warning, but the replication is not taking place.



Few points to note:

I have installed openldap-overlays later through yum in both the box
I have not found back_bdb in anywhere. Is only this work? I have replaced it through back_sql
Should credential be in clear text?


The main problem I am having that I couldn’t able to see any log message.

I have enterd the following line in slapd.conf:


logfile /var/log/slapd.log
loglevel 512



but till no log is generated. Also why not replication session log is generating?

Any help will be highly appreciated.


Thanks.

Sandip