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".

I installed OpenLDAP and configure directory with new DN.

For data migration, I exported data:
slapcat -b dc=lexp,dc=fr > /tmp/20230616_save_data.ldif

.. and for recovery, I changed all dn mentions from old to new dn.

1. Is the correct way?
When import, you can see error message: slapadd: slap_init invalid suffix 
("dc=directory,dc=lan-explore,dc=fr ")
2. When searching, I discovered that each line can contains 77 columns. Next, 
line is truncated, and it's difficult to replace all dn.

Thanks,

Jean-Luc

Reply via email to