]> git.sur5r.net Git - openldap/commitdiff
Fix entryDN matching
authorKurt Zeilenga <kurt@openldap.org>
Wed, 8 Sep 2004 21:51:12 +0000 (21:51 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Wed, 8 Sep 2004 21:51:12 +0000 (21:51 +0000)
servers/slapd/filterentry.c

index 96d856dca14f18e4fe0d5b8210b6a7916e2573fa..5b078638603589987ccaa6d1b115e63cdec5a9b1 100644 (file)
@@ -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;