On Wed, Apr 09, 2025 at 10:35:40AM +0000, Windl, Ulrich wrote:
Hi!
Actually when trying to "fix" my configuration, I completely messed it up 8-( Probably because I could not really understand the relationship and/or meaning of some configuration attributes:
In an MMR configuration I thought I don't need olcUpdateRef (server sends updates to another one) because the syncrepl configuration would propagate any changes. Likewise I'm unsure about olcMirrorMode (olcMultiProvider): Is it needed for MMR?
The odd thing is that I have a database configure similar to cn=config (using MDB), and I can apply a change to config that is accepted, but I cannot apply the corresponding change to {1}mdb. The configuration has no updateref,syncrepl, or multiprovider attributes set.
The change tries to add {5}mdb to be used as accesslog, and the server complains: adding new entry "olcDatabase={5}mdb,cn=config" ldap_add: Server is unwilling to perform (53) additional info: shadow context; no update referral
The failed change looks like this: ldapmodify -Y EXTERNAL -H ldapi:/// <<LDIF || exit dn: olcDatabase={5}mdb,cn=config changetype: add ... LDIF
I don't understand.
Hi Ulrich, I assume you've figured this out by now, but olcMultiProvider is a per-database setting, so you'll need to make olcdatabase={0}config if it's a provider (accepts new write operations) for this DB in an MMR setting.
Regards,