mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-02-23 14:09:39 +08:00
ITS#7080 cn=config postread support for modrdn when back-ldif not used
This commit is contained in:
parent
67f7f98ca5
commit
a6c110d16d
@ -6615,6 +6615,20 @@ config_back_modrdn( Operation *op, SlapReply *rs )
|
||||
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 )
|
||||
slap_unpause_server();
|
||||
out:
|
||||
|
Loading…
Reference in New Issue
Block a user