--On Friday, June 16, 2023 3:19 PM +0000 Jean-Luc Chandezon jlch@lan-explore.fr wrote:
Hello dear community,
I have to migrate our ldap database from OpenLDAP (from 2019 version hosted on Debian, to Symas OpenLDAP 2.4.59 on ). I need to change our DN from "dc=lexp,dc=fr" to "dc=directory,dc=lan-explore,dc=fr".
Hello,
The OpenLDAP 2.4 series is historic and no longer supported. I would *strongly* advise upgrading to a supported release series. If you are unable to do this yourself, I would recommend using either the packages from Symas or the LTB project:
https://repo.symas.com/ https://ltb-project.org/
Depending on the version of OpenLDAP you are running, it may be possible to export without linewraps by adding the:
-o ldif-wrap=no
option to your slapcat invocation.
You will also need to update your slapd configuration such that it refers to the new root do your DIT, which your slapadd error indicates was not done.
Regards, Quanah