Hello,
I am trying to migrate our 2.4.58 Openldap (LTB on CentOS 7) to 2.6.9 (LTB on Rocky 9).
I slapcat'ed the config DIT and data DIT and I am currently trying to import them into the new installation.
I have removed ppolicy schema and tried to slapadd, but it fails:
[root@ldap1 openldap]# slapadd -vvv -n0 -F /usr/local/openldap/etc/openldap/slapd.d -l /root/work/ldap-mig2/config-dit.ldif added: "cn=config" (00000001) added: "cn=schema,cn=config" (00000001) added: "cn={0}core,cn=schema,cn=config" (00000001) added: "cn={1}cosine,cn=schema,cn=config" (00000001) added: "cn={2}inetorgperson,cn=schema,cn=config" (00000001) added: "cn={3}nis,cn=schema,cn=config" (00000001) added: "cn={4}eduperson,cn=schema,cn=config" (00000001) added: "cn={5}postfix,cn=schema,cn=config" (00000001) added: "cn={6}dyngroup,cn=schema,cn=config" (00000001) added: "cn={7}misc,cn=schema,cn=config" (00000001) added: "cn={8}schac-20090326-1,cn=schema,cn=config" (00000001) added: "cn={9}dnsdomain2,cn=schema,cn=config" (00000001) added: "cn={10}proftpd-quota,cn=schema,cn=config" (00000001) added: "cn={11}kerberos,cn=schema,cn=config" (00000001) added: "cn={12}localemailrecipient,cn=schema,cn=config" (00000001) added: "cn={13}entryaccess,cn=schema,cn=config" (00000001) added: "cn={14}radius,cn=schema,cn=config" (00000001) added: "cn={15}pdns-domaininfo,cn=schema,cn=config" (00000001) added: "olcDatabase={-1}frontend,cn=config" (00000001) added: "olcDatabase={0}config,cn=config" (00000001) <= str2entry: str2ad(olcDbNoSync): attribute type undefined slapadd: could not parse entry (line=2913) Closing DB...
If I understand right, the process seems to be disturbed by the olcDbNoSync attribute:
<= str2entry: str2ad(olcDbNoSync): attribute type undefined
What may be the cause? I have seen in the Internet earlier reports of this error during slapadd but there is no single reason. Please advise. Thanks in advance, Niick
On 20/5/2025 12:29 μ.μ., Nick Milas wrote:
I am trying to migrate our 2.4.58 Openldap (LTB on CentOS 7) to 2.6.9 (LTB on Rocky 9).
I slapcat'ed the config DIT and data DIT and I am currently trying to import them into the new installation.
I have removed ppolicy schema and tried to slapadd, but it fails: ...
For your reference, here is the file being imported (as is, passwords removed):
Best Regards, Nick
Le 20/05/2025 à 11:29, Nick Milas a écrit :
I am trying to migrate our 2.4.58 Openldap (LTB on CentOS 7) to 2.6.9 (LTB on Rocky 9).
Hello Nick,
see https://ltb-project.org/documentation/migrate_openldap_ltb_24_openldap_ltb_2...
You will need at least to load the modules for backends and overlays used in your configuration. Be sure to follow the other steps too.
On 20/5/2025 2:43 μ.μ., Clément OUDOT wrote:
see https://ltb-project.org/documentation/migrate_openldap_ltb_24_openldap_ltb_2...
You will need at least to load the modules for backends and overlays used in your configuration. Be sure to follow the other steps too.
Hi Clément,
Thanks for your hint. Your advice did the trick!
After I added the modules, it worked directly.
I hope I will not face any other hurdles with the new version.
All the best, Nick
openldap-technical@openldap.org