Thank you for validating my complaint.
The trick to this is "string matching", not putting the same name in both places. I have played around with several different configs and finally got it working. I think the trailing slashes were what got things working for me. I am not in front of my setup right now, but will reply later today when I am.
DivyaThanks,I have seen a similar issue posted in an earlier thread but could not find a solution.After this I am not able to start the service and when I do a slapd -d sync , I get the error "read_config: no serverID / URL match found"and server 2on server 1I have put the below entries in /etc/default/slapThis is my configurationHi,I am using openldap 2.4.39 version and trying to set up multi master replication.
ServerID 1 "ldap://ldap1-test.com"
ServerID 2 "ldap://ldap2-test.com"
overlay syncprov
syncprov-checkpoint 10 1
syncprov-sessionlog 100
syncrepl rid=1
provider="ldap://ldap1-test.com"
binddn="uid=replication,ou=People,dc=ldap,dc=nqa,dc=test,dc=com"
bindmethod=simple
credentials="xyzabc"
searchbase="dc=ldap,dc=nqa,dc=test,dc=com"
type=refreshAndPersist
interval=00:00:00:10
retry="5 10 60 +"
timeout=1
schemachecking=off
scope=sub
syncrepl rid=2
provider="ldap://ldap2-test.com"
binddn="uid=replication,ou=People,dc=ldap,dc=nqa,dc=test,dc=com"
bindmethod=simple
credentials="xyzabc"
searchbase="dc=ldap,dc=nqa,dc=test,dc=com"
type=refreshAndPersist
interval=00:00:00:10
retry="5 10 60 +"
timeout=1
schemachecking=off
scope=sub
MirrorMode on
SLAPD_SERVICES="ldapi:// ldap://ldap1-test.com"
SLAPD_SERVICES="ldapi:// ldap://ldap2-test.com"