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

need attrs when sending entries ...

parent cb2155e5
No related branches found
No related tags found
No related merge requests found
......@@ -112,7 +112,10 @@ monitor_send_children(
rc = test_filter( op, e, op->oq_search.rs_filter );
if ( rc == LDAP_COMPARE_TRUE ) {
rs->sr_entry = e;
rs->sr_attrs = attrs;
send_search_entry( op, rs );
rs->sr_entry = NULL;
rs->sr_attrs = NULL;
}
if ( ( mp->mp_children || MONITOR_HAS_VOLATILE_CH( mp ) )
......@@ -171,8 +174,10 @@ monitor_back_search( Operation *op, SlapReply *rs )
rc = test_filter( op, e, op->oq_search.rs_filter );
if ( rc == LDAP_COMPARE_TRUE ) {
rs->sr_entry = e;
rs->sr_attrs = attrs;
send_search_entry( op, rs );
rs->sr_entry = NULL;
rs->sr_attrs = NULL;
}
rc = LDAP_SUCCESS;
monitor_cache_release( mi, e );
......@@ -191,8 +196,10 @@ monitor_back_search( Operation *op, SlapReply *rs )
rc = test_filter( op, e, op->oq_search.rs_filter );
if ( rc == LDAP_COMPARE_TRUE ) {
rs->sr_entry = e;
rs->sr_attrs = attrs;
send_search_entry( op, rs );
rs->sr_entry = NULL;
rs->sr_attrs = NULL;
}
rc = monitor_send_children( op, rs, e, 1 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment