mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Store modification in back-ldif
This commit is contained in:
parent
4f95c63211
commit
1afb2c8e6e
1 changed files with 10 additions and 0 deletions
|
|
@ -3721,6 +3721,16 @@ config_back_modify( Operation *op, SlapReply *rs )
|
|||
* 4) store Modified entry in underlying LDIF backend.
|
||||
*/
|
||||
rs->sr_err = config_modify_internal( ce, op, rs, textbuf, sizeof(textbuf) );
|
||||
if ( rs->sr_err == LDAP_SUCCESS ) {
|
||||
BackendDB *be = op->o_bd;
|
||||
slap_callback sc = { NULL, slap_null_cb, NULL, NULL };
|
||||
op->o_bd = &cfb->cb_db;
|
||||
sc.sc_next = op->o_callback;
|
||||
op->o_callback = ≻
|
||||
op->o_bd->be_modify( op, rs );
|
||||
op->o_bd = be;
|
||||
op->o_callback = sc.sc_next;
|
||||
}
|
||||
|
||||
ldap_pvt_thread_pool_resume( &connection_pool );
|
||||
out:
|
||||
|
|
|
|||
Loading…
Reference in a new issue