When an invalid schema is provided (e.g. the current ./servers/slapd/schema/msuser.schema of memberof/dynlist is loaded already), at_add() hits error handling and frees at->at_oid, but that string is being returned in *err. A fix is coming.
This is caused by ITS#8977 changing the members of mdbocs. But pcache (wrongly?) expects that cm->db.bd_info->bi_cf_ocs would be the DB config objectclass and not the one for its backend.
(Wrong ticket in comment #1, sorry)
https://git.openldap.org/openldap/openldap/-/merge_requests/611
head: • 6c216497 by Ondřej Kuzník at 2023-03-31T04:48:17+00:00 ITS#10032 Use the correct ocs field RE26: • 9945f19a by Ondřej Kuzník at 2023-04-27T15:42:09+00:00 ITS#10032 Use the correct ocs field RE25: • 5fedf314 by Ondřej Kuzník at 2023-04-27T15:43:55+00:00 ITS#10032 Use the correct ocs field