From: Howard Chu Date: Tue, 2 Aug 2005 09:44:44 +0000 (+0000) Subject: ITS#3912 missed an invocation of entry_schema_check in last round of changes X-Git-Tag: OPENLDAP_AC_BP~105 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b98d3b59032cec10055bc868461b2256a4a7999c;p=openldap ITS#3912 missed an invocation of entry_schema_check in last round of changes --- 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;