From: Kurt Zeilenga Date: Wed, 8 Sep 2004 21:51:12 +0000 (+0000) Subject: Fix entryDN matching X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~559 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=c54a8de9c86ee38b0cdb63f564969bc1bd954fd5;p=openldap Fix entryDN matching --- diff --git a/servers/slapd/filterentry.c b/servers/slapd/filterentry.c index 96d856dca1..5b07863860 100644 --- a/servers/slapd/filterentry.c +++ b/servers/slapd/filterentry.c @@ -419,10 +419,10 @@ test_ava_filter( return LDAP_OTHER; } - mr = a->a_desc->ad_type->sat_equality; + mr = slap_schema.si_ad_entryDN->ad_type->sat_equality; 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 ); if( rc != LDAP_SUCCESS ) return rc;