fix ITS#3396 (filter in URI replacement must be present)

This commit is contained in:
Pierangelo Masarati 2004-11-16 18:43:48 +00:00
parent 947268c5ee
commit 227961178e

View File

@ -1149,6 +1149,12 @@ void slap_sasl2dn( Operation *opx,
goto FINISHED;
}
/* Must run an internal search. */
if ( op.ors_filter == NULL ) {
rc = LDAP_FILTER_ERROR;
goto FINISHED;
}
op.o_conn = opx->o_conn;
op.o_connid = opx->o_connid;
op.o_tag = LDAP_REQ_SEARCH;