mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 23:59:34 -05:00
support "subordinate" scope
This commit is contained in:
parent
f82ee25ec1
commit
ad4ba42524
1 changed files with 4 additions and 3 deletions
|
|
@ -35,8 +35,7 @@ monitor_send_children(
|
||||||
Operation *op,
|
Operation *op,
|
||||||
SlapReply *rs,
|
SlapReply *rs,
|
||||||
Entry *e_parent,
|
Entry *e_parent,
|
||||||
int sub
|
int sub )
|
||||||
)
|
|
||||||
{
|
{
|
||||||
monitor_info_t *mi = ( monitor_info_t * )op->o_bd->be_private;
|
monitor_info_t *mi = ( monitor_info_t * )op->o_bd->be_private;
|
||||||
Entry *e,
|
Entry *e,
|
||||||
|
|
@ -228,7 +227,9 @@ monitor_back_search( Operation *op, SlapReply *rs )
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LDAP_SCOPE_ONELEVEL:
|
case LDAP_SCOPE_ONELEVEL:
|
||||||
rc = monitor_send_children( op, rs, e, 0 );
|
case LDAP_SCOPE_SUBORDINATE:
|
||||||
|
rc = monitor_send_children( op, rs, e,
|
||||||
|
op->oq_search.rs_scope == LDAP_SCOPE_SUBORDINATE );
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case LDAP_SCOPE_SUBTREE:
|
case LDAP_SCOPE_SUBTREE:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue