--On Tuesday, April 12, 2022 9:47 PM +0200 Ede Wolf listac@nebelschwaden.de wrote:
Hello again,
I am wondering, wether it is possible, to replace/overwrite an item without changing its index number, or wether for this case I do have to manually edit the schema.ldif (and thereby ruin the CRC)?
Assuming I have this example:
Hello,
You can delete an existing index item purely by its index number. You can insert by providing an index number.
ldapmodify .. dn: ... changetype: modify delete: olcObjectClasses olcObjectClasses: {4} - add: olcObjectClasses olcObjectClasses: {4}( 1.1.1 NAME 'myoc' DESC 'My objectclass' SUP top ABSTRACT MAY ( myAttribute ) )
Regards, Quanah