cn=config overlays cannot be removed in OLC. I've heard that this ability may be added someday. In the meantime, the only way I know to remove a cn=config overlay is to switch back to the old slapd.conf format, remove the overlay, then convert back to OLC.
See http://www.openldap.org/lists/openldap-technical/201308/msg00000.html and http://www.openldap.org/lists/openldap-software/200811/msg00103.html -----Original Message----- From: openldap-technical [mailto:[email protected]] On Behalf Of lejeczek Sent: Thursday, June 11, 2015 4:01 AM To: Ferenc Wagner Cc: [email protected] Subject: Re: olcMirrorMode FALSE - yet - error code 53 - shadow context; no update referral On 08/06/15 20:40, Ferenc Wagner wrote: > lejeczek <[email protected]> writes: > >> one of databases in my slapd has nor referrals and olcMirrorMode=FALSE >> in config yet I get infamous: >> >> - [LDAP: error code 53 - shadow context; no update referral] >> >> why would it be, something I am missing in the config of that >> database? > Maybe you have an olcSyncrepl in the database config. I've attached that database's config earlier, nope no olcSyncrepl, but I also mentioned there is something in the database which might be a remnant of past syncing: DN: olcOverlay={0}syncprov,olcDatabase={2}bdb,cn=config but cannot remove this entry
