]> git.sur5r.net Git - openldap/commitdiff
more about ITS#4128; please review
authorPierangelo Masarati <ando@openldap.org>
Mon, 31 Oct 2005 15:33:30 +0000 (15:33 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 31 Oct 2005 15:33:30 +0000 (15:33 +0000)
servers/slapd/back-ldif/ldif.c

index 83a180b4f077ef9f7c4b5d1702a680df480cf12d..10cf47802dcf7509db26e3bf0411ad09fad4801d 100644 (file)
@@ -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,