From b98d3b59032cec10055bc868461b2256a4a7999c Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Tue, 2 Aug 2005 09:44:44 +0000 Subject: [PATCH] ITS#3912 missed an invocation of entry_schema_check in last round of changes --- servers/slapd/back-ldif/ldif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-ldif/ldif.c b/servers/slapd/back-ldif/ldif.c index 10afd9c8f6..39244c8504 100644 --- a/servers/slapd/back-ldif/ldif.c +++ b/servers/slapd/back-ldif/ldif.c @@ -560,7 +560,7 @@ static int apply_modify_to_entry(Entry * entry, entry->e_ocflags = 0; } /* check that the entry still obeys the schema */ - rc = entry_schema_check(op->o_bd, entry, NULL, 0, + rc = entry_schema_check(op, entry, NULL, 0, &rs->sr_text, textbuf, sizeof( textbuf ) ); } return rc; @@ -767,7 +767,7 @@ static int ldif_back_add(Operation *op, SlapReply *rs) { int statres; char textbuf[SLAP_TEXT_BUFLEN]; - rs->sr_err = entry_schema_check(op->o_bd, e, NULL, 0, + rs->sr_err = entry_schema_check(op, e, NULL, 0, &rs->sr_text, textbuf, sizeof( textbuf ) ); if ( rs->sr_err != LDAP_SUCCESS ) goto send_res; -- 2.39.5