mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-31 20:19:34 -05:00
ITS#9171 Insert callback in the right place
This commit is contained in:
parent
299fb490a2
commit
140b676bc1
1 changed files with 2 additions and 4 deletions
|
|
@ -1663,9 +1663,8 @@ ppolicy_bind( Operation *op, SlapReply *rs )
|
|||
/* Setup a callback so we can munge the result */
|
||||
|
||||
cb->sc_response = ppolicy_bind_response;
|
||||
cb->sc_next = op->o_callback->sc_next;
|
||||
cb->sc_private = ppb;
|
||||
op->o_callback->sc_next = cb;
|
||||
overlay_callback_after_backover( op, cb, 1 );
|
||||
|
||||
/* Did we receive a password policy request control? */
|
||||
if ( op->o_ctrlflag[ppolicy_cid] ) {
|
||||
|
|
@ -1809,9 +1808,8 @@ ppolicy_compare(
|
|||
/* Setup a callback so we can munge the result */
|
||||
|
||||
cb->sc_response = ppolicy_compare_response;
|
||||
cb->sc_next = op->o_callback->sc_next;
|
||||
cb->sc_private = ppb;
|
||||
op->o_callback->sc_next = cb;
|
||||
overlay_callback_after_backover( op, cb, 1 );
|
||||
|
||||
op->o_bd->bd_info = (BackendInfo *)on;
|
||||
ppolicy_get( op, e, &ppb->pp );
|
||||
|
|
|
|||
Loading…
Reference in a new issue