Skip to content
Snippets Groups Projects
Commit 568de7a5 authored by Quanah Gibson-Mount's avatar Quanah Gibson-Mount
Browse files

ITS#6156

parent 7a7b72fd
No related branches found
No related tags found
No related merge requests found
......@@ -38,6 +38,7 @@ OpenLDAP 2.4.17 Engineering
Fixed slapo-rwm dn passing (ITS#6070)
Fixed slapo-rwm entry free (ITS#6058)
Fixed slapo-rwm entry release (ITS#6081)
Fixed slapo-translucent entry gathering (ITS#6156)
Build Environment
Added test056-monitor (ITS#5540)
Added test057-memberof-refint (ITS#5395)
......
......@@ -1110,6 +1110,8 @@ static int translucent_search(Operation *op, SlapReply *rs) {
op->o_callback = &cb;
if ( fr || !fl ) {
AttributeName *attrs = op->ors_attrs;
op->ors_attrs = NULL;
op->o_bd = &ov->db;
tc.step |= RMT_SIDE;
if ( fl ) {
......@@ -1118,6 +1120,7 @@ static int translucent_search(Operation *op, SlapReply *rs) {
filter2bv_x( op, fr, &op->ors_filterstr );
}
rc = ov->db.bd_info->bi_op_search(op, rs);
op->ors_attrs = attrs;
op->o_bd = tc.db;
if ( fl ) {
op->o_tmpfree( op->ors_filterstr.bv_val, op->o_tmpmemctx );
......@@ -1133,6 +1136,8 @@ static int translucent_search(Operation *op, SlapReply *rs) {
op->ors_filterstr = fbv;
op->ors_filter = tc.orig;
op->o_callback = cb.sc_next;
rs->sr_attrs = op->ors_attrs;
/* Send out anything remaining on the list and finish */
if ( tc.step & USE_LIST ) {
if ( tc.list ) {
......
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