From: Howard Chu Date: Tue, 4 Aug 2009 02:42:20 +0000 (+0000) Subject: In slap_mods_check, always compare ordering index first X-Git-Tag: ACLCHECK_0~364 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=50688c960c850246e426ff59acbb48ea9dae2eed;p=openldap In slap_mods_check, always compare ordering index first --- diff --git a/servers/slapd/modify.c b/servers/slapd/modify.c index 2710ffe799..e4f4ff4cd1 100644 --- a/servers/slapd/modify.c +++ b/servers/slapd/modify.c @@ -690,7 +690,7 @@ slap_sort_vals( #define SWAP(a,b,tmp) tmp=(a);(a)=(b);(b)=tmp #define COMP(a,b) match=0; rc = ordered_value_match( &match, \ ad, mr, SLAP_MR_EQUALITY \ - | SLAP_MR_VALUE_OF_ATTRIBUTE_SYNTAX \ + | SLAP_MR_VALUE_OF_ASSERTION_SYNTAX \ | SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH \ | SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH, \ &(a), &(b), text );