From: Kurt Zeilenga Date: Mon, 24 Jul 2000 21:40:58 +0000 (+0000) Subject: Ignore missing associated matching rule for now X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2361 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f80127f097f9f480f35210efe28c54759df0517e;p=openldap Ignore missing associated matching rule for now --- diff --git a/servers/slapd/mr.c b/servers/slapd/mr.c index 28b543fdd6..983a85d038 100644 --- a/servers/slapd/mr.c +++ b/servers/slapd/mr.c @@ -176,11 +176,17 @@ register_matching_rule( if( associated != NULL ) { amr = mr_find( associated ); - Debug( LDAP_DEBUG_ANY, "register_matching_rule: could not locate " - "associated matching rule %s for %s\n", - associated, desc, 0 ); +#if 0 + /* ignore for now */ + + if( amr == NULL ) { + Debug( LDAP_DEBUG_ANY, "register_matching_rule: could not locate " + "associated matching rule %s for %s\n", + associated, desc, 0 ); + return -1; + } +#endif - return -1; } mr = ldap_str2matchingrule( desc, &code, &err, LDAP_SCHEMA_ALLOW_ALL);