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

Syncrepl replication from multi-master OpenLDAP



Hi,

I am trying to setup data and cn=config replication on a syncrepl slave from an OpenLDAP multi-master.

The replication is fine (data and config replicate).

However, I want to override olcSyncrepl attributes on the syncrepl replica (particularly the provider value to use an IP address reachable from outside the multi-master LAN).

I have tried exattrs=olcSyncrepl but as mentionned in (https://www.openldap.org/lists/openldap-technical/201508/msg00124.html), the olcSyncrepl attribute gets wiped:

dn: olcDatabase={1}mdb,cn=config
.....
olcSyncrepl: {0}rid=006 provider=ldap://<IP address> binddn="******" bindmethod=simple      credentials="*****" searchbase="*****" type=refreshAndPersist      interval=0 0:00:00:10 retry="5 5 300 5" timeout=1

Is there a way to achieve the overriding of olcSyncrepl attribute on the syncrepl server ?

Thanks for your help

Simon Elbaz