From c54a8de9c86ee38b0cdb63f564969bc1bd954fd5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Wed, 8 Sep 2004 21:51:12 +0000 Subject: [PATCH] Fix entryDN matching --- servers/slapd/filterentry.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;