--On Friday, August 6, 2021 11:49 PM +0100 Howard Chu <h...@symas.com> wrote:

Michael Ströder wrote:
On 8/6/21 11:01 PM, Quanah Gibson-Mount wrote:
--On Saturday, July 31, 2021 7:05 PM +0200 Michael Ströder
<mich...@stroeder.com> wrote:

Can I find out the disk format version in any way, e.g. with
python-lmdb?

The id2v DB only exists in OpenLDAP 2.5 databases.  However, stay
tuned...

Ah, this is very helpful:

mdb_stat -s id2v <db-path>

Just to be clear, the current upgrade doc is a bit paranoid. A 2.4 DB is
forward compatible with 2.5. But 2.5 allows you to configure new DB
parameters
that would make it incompatible with 2.4.


Or another way to put it:

Unless sortvals, multival, or idlexp is being newly configured as a configuration change during the upgrade process, there is no requirement to reload a back-mdb database on reload with OpenLDAP 2.5.6 and prior. However it will not be possible to export this database via slapcat until after an OpenLDAP 2.5 slapd has been executed with the database in place. With OpenLDAP 2.5.7 and later it is possible to export a 2.4 database with slapcat in all circumstances.

--Quanah

--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>

Reply via email to