Quoting Quanah Gibson-Mount (quanah(a)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
--
| I doubt, therefore I might be.
| 4096R/20CC6CD2 - 6D40 1A20 B9AA 87D4 84C7 FBD6 F3A9 9442 20CC 6CD2