mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-02 21:19:53 -05:00
ITS#6156 get full entry from remote side, only use attr list on final send
This commit is contained in:
parent
b13789f3e9
commit
0d497278e9
1 changed files with 5 additions and 0 deletions
|
|
@ -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 ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue