From: Pierangelo Masarati Date: Mon, 31 Oct 2005 15:27:26 +0000 (+0000) Subject: address ITS#4128; please review X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~161 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=217489bd903d2aa5491738d2e036197887d51098;p=openldap address ITS#4128; please review --- diff --git a/servers/slapd/back-ldif/ldif.c b/servers/slapd/back-ldif/ldif.c index 0b566f5b75..83a180b4f0 100644 --- a/servers/slapd/back-ldif/ldif.c +++ b/servers/slapd/back-ldif/ldif.c @@ -767,7 +767,8 @@ 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 ), 1 ); + slap_add_opattrs( op, &rs->sr_text, textbuf, sizeof( textbuf ), + op->o_bd->be_pcl_mutexp != NULL ? 1 : 0 ); rs->sr_err = entry_schema_check(op, e, NULL, 0, &rs->sr_text, textbuf, sizeof( textbuf ) );