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

Re: Modify indexes on a delta-syncrepl consumer


On Thu, 21 Nov 2013, ML mail wrote:

I am using two OpenLDAP 2.4.31 servers with delta-syncrepl as replication method. So far everything works perfectly but I was wondering how I can modify cn=config settings on the consumer. For instance I would like to add new indexes (olcDbIndex) on the consumer to my replicated HDB database but this fails as you can see here:

ldap_modify: Server is unwilling to perform (53)
ÂÂÂ additional info: shadow context; no update referral

I understand that it does not want me to modify any settings on my consumer but I was thinking this should be possible no? If not this means if I want to change a setting on the consumer I need to delete my whole database on the consumer configure it and add replication again.

Looks like you are you also replicating cn=config.

It appears you have 3 options:

1) Do not replicate cn=config and allow individual changes at each node.

2) Replicate cn=config to all servers and modify cn=config on the provider.

3) Use multimaster replication or configure referrals and perhaups
  chaining to allow changes on each node.


Christian Kratzer                      CK Software GmbH
Email:   ck@cksoft.de                  Wildberger Weg 24/2
Phone:   +49 7032 893 997 - 0          D-71126 Gaeufelden
Fax:     +49 7032 893 997 - 9          HRB 245288, Amtsgericht Stuttgart
Web:     http://www.cksoft.de/         Geschaeftsfuehrer: Christian Kratzer