From 48432b1a8dd458c410a3e9bcb59763071850d97d Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 31 Oct 2005 15:33:30 +0000 Subject: [PATCH] more about ITS#4128; please review --- servers/slapd/back-ldif/ldif.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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, -- 2.39.5