Quoting Quanah Gibson-Mount (quanah@fast-mail.org):
I'm trying to add an 'olcAttributeType' to an already existing LDAP schema. I wrote this LDIF, which was wrong as it turns out:
What OpenLDAP release are you running?
Ah, yes, that might be relevant. I'm working with 2.5.11 (Ubuntu Jammy) right now. But this LDAP server is running since ~2007. Took me WAY more time than anticipated to convert from 'bdb' to 'mdb', but hey, we're here...
Try: dn: cn=schema,cn=config changetype: modify delete: olcAttributetypes olcAttributetypes: {0}
No dice.
ldap_modify: Operations error (1) additional info: <olcAttributeTypes> missing <attribute> argument