I have a Cluster OpenLDAP setup with 2 OpenLDAP servers running syncrepl on config and data, providing LDAP authentication to specific systems running various embedded OS.
Now I was asked to add a Consumer replica with a subset of users and groups from the Cluster setup, running on a remote site.
I used the Ubuntu documentation as a reference. https://ubuntu.com/server/docs/service-ldap-replication
Provider and Consumer have the indexes needed according to the documentation.
SyncRepl configuration on Consumer.
dn: olcDatabase={1}mdb,cn=config changetype: modify add: olcSyncrepl olcSyncrepl: rid=123 provider=ldap://DNSNAME.Cluster.Ldap bindmethod=simple binddn="cn=admin,dc=ldap,dc=test" credentials=secret searchbase="dc=ldap,dc=test" schemachecking=on type=refreshOnly interval=00:00:05:00
The issue is that changes to group membership do not get synchronized before I restart the SLAPD service.
I have tried with a filter, permissions on what the Consumer can read on Cluster, or just replicate the entire database.
Any pointers to what I can have missed ?