]> git.sur5r.net Git - openldap/commitdiff
Don't hide matchingRuleUse's description (now implemented)
authorKurt Zeilenga <kurt@openldap.org>
Sat, 31 Aug 2002 18:41:21 +0000 (18:41 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 31 Aug 2002 18:41:21 +0000 (18:41 +0000)
Use attribute's cname not oid in matching rule uses

servers/slapd/mr.c
servers/slapd/schema_prep.c

index 605dbe8f84a6969619586bc7b29c9597489889ec..eeddc5fe4ccd6af7f59f68d0de780d3240f73d7b 100644 (file)
@@ -398,7 +398,7 @@ matching_rule_use_init( void )
                                                                at->sat_cname.bv_val, 0 );
 #endif
                                                ldap_charray_add( &applies_oids,
-                                                               at->sat_oid );
+                                                               at->sat_cname.bv_val );
                                        }
                                }
                        }
@@ -427,7 +427,7 @@ matching_rule_use_init( void )
                                                        at->sat_cname.bv_val, 0 );
 #endif
                                        ldap_charray_add( &applies_oids,
-                                                       at->sat_oid );
+                                                       at->sat_cname.bv_val );
                                }
                        }
                        break;
@@ -455,7 +455,7 @@ matching_rule_use_init( void )
                                                        at->sat_cname.bv_val, 0 );
 #endif
                                        ldap_charray_add( &applies_oids,
-                                                       at->sat_oid );
+                                                       at->sat_cname.bv_val );
                                }
                        }
                        break;
index 8cc09e5218113f59c8b8f5695062c77b70cc83d6..85fc05ddf3e3fba08735479346cd435e4ce69cc2 100644 (file)
@@ -600,7 +600,7 @@ static struct slap_schema_ad_map {
                        "DESC 'RFC2252: matching rule uses' "
                        "EQUALITY objectIdentifierFirstComponentMatch "
                        "SYNTAX 1.3.6.1.4.1.1466.115.121.1.31 USAGE directoryOperation )",
-               subentryAttribute, SLAP_AT_HIDE,
+               subentryAttribute, 0,
                NULL, NULL, NULL, NULL, NULL,
                offsetof(struct slap_internal_schema, si_ad_matchingRuleUse) },