at = attrs_find( at->a_next, b->a_dn_at ) )
{
if( value_find_ex( b->a_dn_at,
+#ifdef SLAP_NVALUES
+ SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH |
+ SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH,
+ at->a_nvals ? at->a_nvals : at->a_vals,
+#else
SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH,
- at->a_vals, &bv ) == 0 )
+ at->a_vals,
+#endif
+ &bv ) == 0 )
{
/* found it */
match = 1;
#ifdef SLAP_NVALUES
if ( value_find_ex( ava->aa_desc,
- SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH,
- a->a_vals, &ava->aa_value ) == 0 )
+ SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH |
+ SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH,
+ a->a_nvals ? a->a_nvals : a->a_vals, &ava->aa_value ) == 0 )
#else
if ( value_find( ava->aa_desc, a->a_vals, &ava->aa_value ) == 0 )
#endif
group_oc_name, group_at_name, 0 );
#endif
- if( value_find_ex( group_at, 0, attr->a_vals, op_ndn ) != LDAP_SUCCESS ) {
+#ifdef SLAP_NVALUES
+ if( value_find_ex( group_at, SLAP_MR_ATTRIBUTE_VALUE_NORMALIZED_MATCH
+ | SLAP_MR_ASSERTED_VALUE_NORMALIZED_MATCH,
+ attr->a_nvals ? attr->a_nvals : attr->a_vals,
+ op_ndn ) != LDAP_SUCCESS )
+#else
+ if( value_find_ex( group_at, 0, attr->a_vals, op_ndn ) != LDAP_SUCCESS )
+#endif
+ {
#ifdef NEW_LOGGING
LDAP_LOG( BACK_BDB, DETAIL1,
"bdb_group: \"%s\" not in \"%s\": %s\n",