From 8297b0b9df232d79b2dc79982bc0874f380eb8d5 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Fri, 3 Jun 2005 17:24:31 +0000 Subject: [PATCH] ITS:3749: Extend manageDIT support to LDBM. --- servers/slapd/back-ldbm/add.c | 4 ++-- servers/slapd/back-ldbm/modify.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/servers/slapd/back-ldbm/add.c b/servers/slapd/back-ldbm/add.c index 1425cb461e..39b03af185 100644 --- a/servers/slapd/back-ldbm/add.c +++ b/servers/slapd/back-ldbm/add.c @@ -45,8 +45,8 @@ ldbm_back_add( Debug(LDAP_DEBUG_ARGS, "==> ldbm_back_add: %s\n", op->o_req_dn.bv_val, 0, 0); - rs->sr_err = entry_schema_check( op->o_bd, op->oq_add.rs_e, NULL, 0, - &rs->sr_text, textbuf, textlen ); + rs->sr_err = entry_schema_check( op->o_bd, op->oq_add.rs_e, NULL, + get_manageDIT(op), &rs->sr_text, textbuf, textlen ); if ( rs->sr_err != LDAP_SUCCESS ) { Debug( LDAP_DEBUG_TRACE, "entry failed schema check: %s\n", diff --git a/servers/slapd/back-ldbm/modify.c b/servers/slapd/back-ldbm/modify.c index e2a9122643..51d10c2691 100644 --- a/servers/slapd/back-ldbm/modify.c +++ b/servers/slapd/back-ldbm/modify.c @@ -164,7 +164,7 @@ int ldbm_modify_internal( } /* check that the entry still obeys the schema */ - rc = entry_schema_check( op->o_bd, e, save_attrs, 0, + rc = entry_schema_check( op->o_bd, e, save_attrs, get_manageDIT(op), text, textbuf, textlen ); if ( rc != LDAP_SUCCESS ) { Debug( LDAP_DEBUG_ANY, "entry failed schema check: %s\n", -- 2.39.5