mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix abandon, only drop our cloned ops, not real frontend ops
This commit is contained in:
parent
d3210693d2
commit
480394acef
@ -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 New Issue
Block a user