mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-09 16:34:45 -05:00
ITS#4128 revert prev fixes, alternate fix used.
This commit is contained in:
parent
d3a2a42e85
commit
91b3f49d5f
1 changed files with 2 additions and 4 deletions
|
|
@ -767,8 +767,7 @@ static int ldif_back_add(Operation *op, SlapReply *rs) {
|
|||
int statres;
|
||||
char textbuf[SLAP_TEXT_BUFLEN];
|
||||
|
||||
slap_add_opattrs( op, &rs->sr_text, textbuf, sizeof( textbuf ),
|
||||
op->o_bd->be_pcl_mutexp != NULL ? 1 : 0 );
|
||||
slap_add_opattrs( op, &rs->sr_text, textbuf, sizeof( textbuf ), 1 );
|
||||
|
||||
rs->sr_err = entry_schema_check(op, e, NULL, 0,
|
||||
&rs->sr_text, textbuf, sizeof( textbuf ) );
|
||||
|
|
@ -831,8 +830,7 @@ static int ldif_back_modify(Operation *op, SlapReply *rs) {
|
|||
int spew_res;
|
||||
|
||||
if ( !SLAP_SHADOW( op->o_bd ))
|
||||
slap_mods_opattrs( op, op->orm_modlist,
|
||||
op->o_bd->be_pcl_mutexp != NULL ? 1 : 0 );
|
||||
slap_mods_opattrs( op, op->orm_modlist, 1 );
|
||||
|
||||
ldap_pvt_thread_mutex_lock(&ni->li_mutex);
|
||||
dn2path(&op->o_req_ndn, &op->o_bd->be_nsuffix[0], &ni->li_base_path,
|
||||
|
|
|
|||
Loading…
Reference in a new issue