mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-21 15:19:34 -05:00
ITS#7080 cn=config postread support for modrdn when back-ldif not used
This commit is contained in:
parent
67f7f98ca5
commit
a6c110d16d
1 changed files with 14 additions and 0 deletions
|
|
@ -6615,6 +6615,20 @@ config_back_modrdn( Operation *op, SlapReply *rs )
|
||||||
op->oq_modrdn = modr;
|
op->oq_modrdn = modr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if ( rs->sr_err == LDAP_SUCCESS && !cfb->cb_use_ldif && op->o_postread ) {
|
||||||
|
if ( postread_ctrl == NULL ) {
|
||||||
|
postread_ctrl = &ctrls[num_ctrls++];
|
||||||
|
ctrls[num_ctrls] = NULL;
|
||||||
|
}
|
||||||
|
if ( slap_read_controls( op, rs, ce->ce_entry,
|
||||||
|
&slap_post_read_bv, postread_ctrl ) )
|
||||||
|
{
|
||||||
|
Debug( LDAP_DEBUG_ANY, "config_back_modrdn: "
|
||||||
|
"post-read failed \"%s\"\n",
|
||||||
|
ce->ce_entry->e_name.bv_val );
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if ( dopause )
|
if ( dopause )
|
||||||
slap_unpause_server();
|
slap_unpause_server();
|
||||||
out:
|
out:
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue