- if( mra->ma_rule == NULL ) {
- mra->ma_rule = mra->ma_desc->ad_type->sat_equality;
- }
-
- if( mra->ma_rule == NULL ) {
- return LDAP_INAPPROPRIATE_MATCHING;
- }
-
- if( strcmp(mra->ma_rule->smr_syntax->ssyn_oid,
- mra->ma_desc->ad_type->sat_syntax->ssyn_oid) != 0)
- {
- return LDAP_INVALID_SYNTAX;
- }
-