Commit 6b4beae7 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#5781

parent 24d7422a
......@@ -15,6 +15,7 @@ OpenLDAP 2.4.13 Engineering
Fixed slapd slapd.conf validation to LDIF (ITS#5755)
Fixed slapd statslog printing of released entry (ITS#5775)
Added slapd support for certificateListExactMatch (ITS#5700)
Fixed slapd syncrepl MOD of attrs with no EQ rule (ITS#5781)
Fixed slapd-bdb/hdb invalid db crash (ITS#5698)
Added slapd-bdb/hdb dbpagesize keyword
Added slapd-bdb/hdb checksum keyword
......
......@@ -2900,8 +2900,13 @@ attr_cmp( Operation *op, Attribute *old, Attribute *new,
* Modify would fail if provider has replaced entry with a new,
* and the new explicitly includes a superior of a class that was
* only included implicitly in the old entry. Ref ITS#5517.
*
* Also use replace op if attr has no equality matching rule.
* (ITS#5781)
*/
if ( nn && no < o && old->a_desc == slap_schema.si_ad_objectClass )
if ( nn && no < o &&
( old->a_desc == slap_schema.si_ad_objectClass ||
!old->a_desc->ad_type->sat_equality ))
no = o;
i = j;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment