From: Howard Chu Date: Wed, 13 Apr 2005 06:56:26 +0000 (+0000) Subject: Store modification in back-ldif X-Git-Tag: OPENLDAP_AC_BP~899 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1afb2c8e6e0321b78425b18ed02bf6c33fdf7306;p=openldap Store modification in back-ldif --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index fd2f8c43a7..28b74d8d10 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -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: