Skip to content
Snippets Groups Projects
Commit 22796117 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

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

parent 947268c5
Branches
Tags
No related merge requests found
......@@ -1145,7 +1145,13 @@ void slap_sasl2dn( Operation *opx,
"slap_sasl2dn: performing internal search (base=%s, scope=%d)\n",
op.o_req_ndn.bv_val, op.ors_scope, 0 );
if(( op.o_bd == NULL ) || ( op.o_bd->be_search == NULL)) {
if ( ( op.o_bd == NULL ) || ( op.o_bd->be_search == NULL) ) {
goto FINISHED;
}
/* Must run an internal search. */
if ( op.ors_filter == NULL ) {
rc = LDAP_FILTER_ERROR;
goto FINISHED;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment