]> git.sur5r.net Git - openldap/commitdiff
List approximates as well in rule uses.
authorKurt Zeilenga <kurt@openldap.org>
Sat, 31 Aug 2002 19:25:41 +0000 (19:25 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 31 Aug 2002 19:25:41 +0000 (19:25 +0000)
Don't yet list ordering rules yet, these require special attention (and
hence are not marked MR_EXT yet)

servers/slapd/mr.c

index ed86a183d3b7510d70ebf53e13fe13b9169ca408..76ee500442ce2d694ba978da68259d62f5118f37 100644 (file)
@@ -356,7 +356,8 @@ matching_rule_use_init( void )
                at = NULL;
                for ( at_start( &at ); at; at_next( &at ) ) {
                        if( mr->smr_syntax == at->sat_syntax ||
-                               mr == at->sat_equality )
+                               mr == at->sat_equality ||
+                               mr == at->sat_approx )
                        {
                                ldap_charray_add( &applies_oids, at->sat_cname.bv_val );
                        }