--On Monday, July 24, 2023 8:13 PM +0200 Richard Rosner rrosner@fsmuw.rwth-aachen.de wrote:
That's very interesting. I'm only doing what the guide tells me to do. If it tells me this is supposed to work, I expect it to work. So it seems I'll have to take this up to the maintainer of the package as their backup script is broken.
It's more of a literal backup of the exact contents of cn=config (since cn=config is text) than a backup meant to be used by slapadd. Since it's from OpenLDAP 2.4, you would have to have a 2.4 slapat to export it to LDIF. It's unfortunate, because an actual backup made by slapcat prior to the upgrade would be easier to work with for the purposes of upgrading to LMDB.
The general advice for the last 7-8 years was to update your system to use LMDB while on OpenLDAP 2.4.
--Quanah