SLAP_NVALUES: fix values_find_ex call

This commit is contained in:
Kurt Zeilenga 2003-03-17 00:30:35 +00:00
parent 1a55430c65
commit 86fdee6de7

View File

@ -178,7 +178,16 @@ ldbm_back_group(
#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_LDBM, DETAIL1,
"ldbm_back_group: \"%s\" not in \"%s\": %s\n",