mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
Fix abandon, only drop our cloned ops, not real frontend ops
This commit is contained in:
parent
d3210693d2
commit
480394acef
1 changed files with 6 additions and 1 deletions
|
|
@ -882,7 +882,12 @@ syncprov_op_abandon( Operation *op, SlapReply *rs )
|
|||
rs->sr_err = LDAP_CANCELLED;
|
||||
send_ldap_result( so->s_op, rs );
|
||||
}
|
||||
syncprov_drop_psearch( so, 0 );
|
||||
/* Our cloned searches have no ctrls set.
|
||||
* we don't want to muck with real search ops
|
||||
* from the frontend.
|
||||
*/
|
||||
if ( ! so->s_op->o_sync )
|
||||
syncprov_drop_psearch( so, 0 );
|
||||
}
|
||||
return SLAP_CB_CONTINUE;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue