if rule is an URI, must have a filter field

This commit is contained in:
Pierangelo Masarati 2003-12-01 07:50:27 +00:00
parent c38b987499
commit ff919168fb

View File

@ -448,6 +448,10 @@ int slap_sasl_match( Operation *opx, struct berval *rule,
}
/* Must run an internal search. */
if ( op.oq_search.rs_filter == NULL ) {
rc = LDAP_FILTER_ERROR;
goto CONCLUDED;
}
#ifdef NEW_LOGGING
LDAP_LOG( TRANSPORT, DETAIL1,