mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
fix ITS#3396 (filter in URI replacement must be present)
This commit is contained in:
parent
947268c5ee
commit
227961178e
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user