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
--On Thursday, March 29, 2018 11:07 AM +0200 Simon ELBAZ selbaz@linagora.com wrote:
Is there a way to achieve the overriding of olcSyncrepl attribute on the syncrepl server ?
You should use a separate database for the slave config that lives on the master. See test059-slave-config
--Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org