After reading the instructions, I wonder: I noticed that there were some changes between 2.4 and 2.5 even, regarding the schemata; should they be upgraded, too? For example the description for deltaCRL had changed from DESC 'RFC2587: PKI user' to 'RFC4523: X.509 delta CRL' (and similar spelling fixes)
Kind regards, Ulrich Windl
-----Original Message----- From: Dirk Kastens dirk.kastens@uni-osnabrueck.de Sent: Tuesday, March 11, 2025 8:24 AM To: openldap-technical@openldap.org Subject: [EXT] Re: Request for Guidance on Upgrading from 2.4.x(BDB with ppolicy) to 2.6.9
Hi Anil,
I did the upgrade last year without any problems. You have to export your data to ldif and then import it to the 2.6 server, which is using mdb. The ppolicy attributes are included in the schema. You have to load the ppolicy module. This is my new configuration:
cn=config/cn=module{0}.ldif:olcModuleLoad: {3}ppolicy.la cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:dn: olcOverlay={2}ppolicy cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:objectClass: olcPPolicyConfig cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:olcOverlay: {2}ppolicy cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:olcPPolicyDefault: cn=default,ou=policies,dc=uni-osnabrueck,dc=de cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:olcPPolicyHashCle artext: TRUE cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:olcPPolicyUseLock out: FALSE cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:olcPPolicyForward Updates: FALSE cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:structuralObjectCl ass: olcPPolicyConfig
I described my upgrade procedure in this list:
https://lists.openldap.org/hyperkitty/list/openldap- technical@openldap.org/thread/BACEHZPE6UYGKVTI5UYTVL7ONND6CRCI/# BACEHZPE6UYGKVTI5UYTVL7ONND6CRCI
Am 10.03.2025 um 17:01 schrieb anilkumar.pathuri7@gmail.com:
Dear LDAP Community,
We are planning to upgrade our setup from OpenLDAP 2.4.x to 2.6.9 (latest
version) and would appreciate your guidance on the following:
Is a direct upgrade from 2.4.x to 2.6.9 possible, or are there intermediate
steps required?
We are currently using BDB with ppolicy. Does 2.6.9 support BDB, or is
migration to MDB mandatory?
Is ppolicy still supported in 2.6.9? Are the ppolicy module and schema included in 2.6.9, or do they need to
be obtained externally?
If a migration from BDB with ppolicy to MDB with ppolicy is required,
could you kindly provide step-by-step guidance?
We greatly appreciate any insights, documentation, or recommendations
you can share.
Thank you for your support! Regards, Anil P
-- Viele Gruesse,
Dirk Kastens Universitaet Osnabrueck, Rechenzentrum (Computer Center) Nelson-Mandela-Str. 4, 49076 Osnabrueck, Germany Tel.: +49-541-969-2347, FAX: -2470