From: Howard Chu Date: Sun, 24 Dec 2006 03:51:08 +0000 (+0000) Subject: Fix prev commit, renaming schema X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~320 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b60644a07fc620d8e1f367e828355e6babc8d44f;p=openldap Fix prev commit, renaming schema --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 4ff1d3b954..0c5274ad67 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -4866,6 +4866,7 @@ config_back_modrdn( Operation *op, SlapReply *rs ) ldap_pvt_thread_pool_pause( &connection_pool ); if ( ce->ce_type == Cft_Schema ) { + req_modrdn_s modr = op->oq_modrdn; struct berval rdn; Attribute *a; rs->sr_err = config_rename_attr( rs, ce->ce_entry, &rdn, &a ); @@ -4874,6 +4875,7 @@ config_back_modrdn( Operation *op, SlapReply *rs ) ce->ce_parent, a, &op->orr_newrdn, &op->orr_nnewrdn, cfb->cb_use_ldif ); } + op->oq_modrdn = modr; } else { CfEntryInfo *ce2, *cebase, **cprev, **cbprev, *ceold; req_modrdn_s modr = op->oq_modrdn;