B. Upgrading from 2.3.x

The following sections attempt to document the steps you will need to take in order to upgrade from the latest 2.3.x OpenLDAP version.

The normal upgrade procedure, as discussed in the Maintenance section, should of course still be followed prior to doing any of this.

B.1. Monitor Backend

Note: This is a temporary requirement and is subject to change over the next 2.4.x beta release cycle

A monitor (slapd-monitor(5)) now needs a rootdn entry. If you do not have one, slapd will fail to start up with an error message like so:

           monitor_back_register_entry_attrs(""): base="cn=databases,cn=monitor" scope=one
           filter="(namingContexts:distinguishedNameMatch:=dc=example,dc=com)": unable to find entry
           backend_startup_one: bi_db_open failed! (1)
           slap_startup failed (test would succeed using the -u switch)

Here is a complete database monitor example:

           database monitor
           rootdn cn=monitor
           rootpw change_me

B.2. cn=config olc* attributes

Quite a few olc* attributes have now become obsolete, if you see in your logs entries like below, just remove them from the relevant ldif file.

           olcReplicationInterval: value #0: <olcReplicationInterval> keyword is obsolete (ignored)