ITS#4128 revert prev fixes, alternate fix used.

This commit is contained in:
Howard Chu 2005-11-03 21:56:33 +00:00
parent d3a2a42e85
commit 91b3f49d5f

View file

@ -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,