From: Pierangelo Masarati Date: Mon, 4 Oct 2004 21:05:13 +0000 (+0000) Subject: fix global configuration patch (ITS#3353) X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~463 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2ccbe388b5f71ee611ace1c820cf6dec0ec30c86;p=openldap fix global configuration patch (ITS#3353) --- diff --git a/servers/slapd/back-sql/add.c b/servers/slapd/back-sql/add.c index 19fd90ef72..2b3f8232fb 100644 --- a/servers/slapd/back-sql/add.c +++ b/servers/slapd/back-sql/add.c @@ -889,7 +889,7 @@ backsql_add( Operation *op, SlapReply *rs ) op->oq_add.rs_e->e_name.bv_val, 0, 0 ); /* check schema */ - if ( global_schemacheck ) { + if ( SLAPD_GLOBAL(schemachecking) ) { char textbuf[ SLAP_TEXT_BUFLEN ] = { '\0' }; rs->sr_err = entry_schema_check( op->o_bd, op->oq_add.rs_e,