From: Pierangelo Masarati Date: Mon, 31 Oct 2005 15:33:30 +0000 (+0000) Subject: more about ITS#4128; please review X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~160 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=48432b1a8dd458c410a3e9bcb59763071850d97d;p=openldap more about ITS#4128; please review --- diff --git a/servers/slapd/back-ldif/ldif.c b/servers/slapd/back-ldif/ldif.c index 83a180b4f0..10cf47802d 100644 --- a/servers/slapd/back-ldif/ldif.c +++ b/servers/slapd/back-ldif/ldif.c @@ -831,7 +831,8 @@ 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, 1 ); + slap_mods_opattrs( op, op->orm_modlist, + op->o_bd->be_pcl_mutexp != NULL ? 1 : 0 ); ldap_pvt_thread_mutex_lock(&ni->li_mutex); dn2path(&op->o_req_ndn, &op->o_bd->be_nsuffix[0], &ni->li_base_path,