Ignore missing associated matching rule for now

This commit is contained in:
Kurt Zeilenga 2000-07-24 21:40:58 +00:00
parent 6c41d272cf
commit f80127f097

View file

@ -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);