Fix entryDN matching

This commit is contained in:
Kurt Zeilenga 2004-09-08 21:51:12 +00:00
parent cdd94c7aa1
commit c54a8de9c8

View File

@ -419,10 +419,10 @@ test_ava_filter(
return LDAP_OTHER; return LDAP_OTHER;
} }
mr = a->a_desc->ad_type->sat_equality; mr = slap_schema.si_ad_entryDN->ad_type->sat_equality;
assert( mr ); assert( mr );
rc = value_match( &ret, a->a_desc, mr, 0, rc = value_match( &ret, slap_schema.si_ad_entryDN, mr, 0,
&e->e_nname, &ava->aa_value, &text ); &e->e_nname, &ava->aa_value, &text );
if( rc != LDAP_SUCCESS ) return rc; if( rc != LDAP_SUCCESS ) return rc;