Since then I've made some progress...
Chandler Sobel-Sorenson wrote on 1/21/23 5:14 PM:
Ryan Tandy wrote on 1/21/23 2:59 PM:
Try "olcModuleLoad: back_bdb" (under "cn=module{0},cn=config").
slapadd: could not add entry dn="cn=module{0},cn=config" (line=42): here is that section for reference: [...] olcModuleLoad: {0}ppolicy.la
What ended up working was "olcModuleLoad: {1}back_bdb.la" after this line. Also had to add "olcModuleLoad: {2}back_monitor.la" plus some other changes.
it's recommended to migrate to the modern LMDB backend at your earliest convenience).
That would probably be now while I'm moving everything over, yes? I'll search around for a guide...
After that I proceeded to convert it to use mdb. That entailed things like: deleting a bunch of olcDb* olcAttributeTypes, olcBdbConfig and olcHdbConfig olcObjectClasses, a bunch of olcDb* attributes, and added olcDbMaxSize attribute.
Now just getting a permissions error that I don't understand yet, but I'll try upgrading to 2.5 first. Version 2.5.13+dfsg-2~bpo11+1 is in bullseye-backports!