mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Fix ITS#3601
This commit is contained in:
parent
585b4a02ef
commit
5ffc2ce9f1
1 changed files with 5 additions and 1 deletions
|
|
@ -271,7 +271,11 @@ glue_op_search ( Operation *op, SlapReply *rs )
|
|||
|
||||
switch (op->ors_scope) {
|
||||
case LDAP_SCOPE_BASE:
|
||||
return SLAP_CB_CONTINUE;
|
||||
rs->sr_err = LDAP_UNWILLING_TO_PERFORM;
|
||||
if (op->o_bd && op->o_bd->be_search) {
|
||||
rs->sr_err = op->o_bd->be_search( op, rs );
|
||||
}
|
||||
return rs->sr_err;
|
||||
|
||||
case LDAP_SCOPE_ONELEVEL:
|
||||
case LDAP_SCOPE_SUBTREE:
|
||||
|
|
|
|||
Loading…
Reference in a new issue