In 2.5 this works for me: olcModuleLoad: {0}back_mdb.so olcModuleLoad: {1}syncprov.so olcModuleLoad: {2}accesslog.so olcModuleLoad: {3}ppolicy.so olcModuleLoad: {4}refint.so olcModuleLoad: {5}pw-sha2.so olcModuleLoad: {6}lastbind.so olcModulePath: /usr/lib64/Openldap
Maybe try to add all your modules at once, restarting slapd.
I did replace: olcModuleLoad olcModuleLoad: {0}back_mdb.so olcModuleLoad: {1}syncprov.so olcModuleLoad: {2}accesslog.so olcModuleLoad: {3}ppolicy.so
and applied it using slapmodify when slapd was down.
Kind regards, Ulrich Windl
-----Original Message----- From: suman@tifrh.res.in suman@tifrh.res.in Sent: Monday, March 23, 2026 1:02 PM To: openldap-technical@openldap.org Subject: [EXT] Problem in adding ppolicy.la after syncprov.la
I have added syncprov.la and files looks like
###/etc/openldap/slapd.d/cn=config/cn=module{0}.ldif
# AUTO-GENERATED FILE - DO NOT EDIT!! Use ldapmodify. # CRC32 8d6079cc dn: cn=module{0} objectClass: olcModuleList cn: module{0} olcModulePath: /usr/lib64/openldap olcModuleLoad: {0}syncprov.la structuralObjectClass: olcModuleList entryUUID: 81683024-bae4-1040-8c13-b9420abdf920 creatorsName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth createTimestamp: 20260323091457Z entryCSN: 20260323091457.088057Z#000000#000#000000 modifiersName: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth modifyTimestamp: 20260323091457Z
Now trying to add ppolicy.la
dn: cn=module{0},cn=config changetype: modify add: olcModuleLoad olcModuleLoad: ppolicy.la
ldapmodify -Y EXTERNAL -H ldapi:/// -f mod_ppolicy.ldif
SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "cn=module{0},cn=config" ldap_modify: Other (e.g., implementation specific) error (80) additional info: <olcModuleLoad> handler exited with 1
Please let me know what is wrong and if someone guide me to overcome this issue. My ultimate goal to reach master-master + ppolicy,