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:olcPPolicyHashCleartext:
TRUE
cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:olcPPolicyUseLockout:
FALSE
cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:olcPPolicyForwardUpdates:
FALSE
cn=config/olcDatabase={1}mdb/olcOverlay={2}ppolicy.ldif:structuralObjectClass:
olcPPolicyConfig
I described my upgrade procedure in this list: https://lists.openldap.org/hyperkitty/list/[email protected]/thread/BACEHZPE6UYGKVTI5UYTVL7ONND6CRCI/#BACEHZPE6UYGKVTI5UYTVL7ONND6CRCI Am 10.03.2025 um 17:01 schrieb [email protected]:
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
smime.p7s
Description: Kryptografische S/MIME-Signatur
