]> git.sur5r.net Git - openldap/commitdiff
fix global configuration patch (ITS#3353)
authorPierangelo Masarati <ando@openldap.org>
Mon, 4 Oct 2004 21:05:13 +0000 (21:05 +0000)
committerPierangelo Masarati <ando@openldap.org>
Mon, 4 Oct 2004 21:05:13 +0000 (21:05 +0000)
servers/slapd/back-sql/add.c

index 19fd90ef7209772a5648f74d471f10c73c5b7fbe..2b3f8232fb4b92deaf17983fe50a214caea471d2 100644 (file)
@@ -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,