https://bugs.openldap.org/show_bug.cgi?id=9888
--- Comment #3 from Ondřej Kuzník ondra@mistotebe.net --- On Mon, Jul 25, 2022 at 11:19:00PM +0000, openldap-its@openldap.org wrote:
Note that one change that was made during the schema update was that some of the attribute OIDs were renumbered. Speculating that this was the root cause of the issue in slapd
Just checked the code and it really seems like any AttributeDescription pointer caching is tied to OIDs, so if you mess with those and there is data in mdb, those pointers will no longer match up and you get undefined behaviour. As usual, schema changes removing or modifying attributes/objectclasses should include a textual (LDIF) reload.
I guess not a bug? At least unless you can show a change not touching OIDs gives you the same?