From 217489bd903d2aa5491738d2e036197887d51098 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Mon, 31 Oct 2005 15:27:26 +0000 Subject: [PATCH] address 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 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 ) ); -- 2.39.5