From: Pierangelo Masarati Date: Sat, 9 Sep 2006 00:00:44 +0000 (+0000) Subject: support "subordinate" scope X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~182 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ad4ba42524c44c5ea644aeb67b9c4b8e8f29234c;p=openldap support "subordinate" scope --- diff --git a/servers/slapd/back-monitor/search.c b/servers/slapd/back-monitor/search.c index 3f30f489b5..4b4b9bef7c 100644 --- a/servers/slapd/back-monitor/search.c +++ b/servers/slapd/back-monitor/search.c @@ -35,8 +35,7 @@ monitor_send_children( Operation *op, SlapReply *rs, Entry *e_parent, - int sub -) + int sub ) { monitor_info_t *mi = ( monitor_info_t * )op->o_bd->be_private; Entry *e, @@ -228,7 +227,9 @@ monitor_back_search( Operation *op, SlapReply *rs ) break; 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; case LDAP_SCOPE_SUBTREE: