mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-23 16:19:35 -05:00
Ignore missing associated matching rule for now
This commit is contained in:
parent
6c41d272cf
commit
f80127f097
1 changed files with 10 additions and 4 deletions
|
|
@ -176,11 +176,17 @@ register_matching_rule(
|
||||||
if( associated != NULL ) {
|
if( associated != NULL ) {
|
||||||
amr = mr_find( associated );
|
amr = mr_find( associated );
|
||||||
|
|
||||||
Debug( LDAP_DEBUG_ANY, "register_matching_rule: could not locate "
|
#if 0
|
||||||
"associated matching rule %s for %s\n",
|
/* ignore for now */
|
||||||
associated, desc, 0 );
|
|
||||||
|
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);
|
mr = ldap_str2matchingrule( desc, &code, &err, LDAP_SCHEMA_ALLOW_ALL);
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue