]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema_check.c
declare oc_bvfind_undef()
[openldap] / servers / slapd / schema_check.c
index 9648849c2166afe8583362d73d8be62b1f98f013..0da634d81246dd7093d3a421630c2f87efd27117 100644 (file)
@@ -112,7 +112,7 @@ entry_schema_check(
        }
 
        /* it's a REALLY bad idea to disable schema checks */
-       if( !SLAPD_GLOBAL(schemachecking) ) return LDAP_SUCCESS;
+       if( !global_schemacheck ) return LDAP_SUCCESS;
 
        /* find the structural object class attribute */
        asc = attr_find( e->e_attrs, ad_structuralObjectClass );
@@ -384,7 +384,7 @@ entry_schema_check(
                                                        }
                                                }
                                        }
-                               } else if ( SLAPD_GLOBAL(disallows) & SLAP_DISALLOW_AUX_WO_CR ) {
+                               } else if ( global_disallows & SLAP_DISALLOW_AUX_WO_CR ) {
                                        k = -1;
                                } else {
                                        k = 0;