]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/schema_check.c
More system schema checks
[openldap] / servers / slapd / schema_check.c
index 4e44ffaafec831e872d9aaa1f43f8124efb4aff5..dc5842c187d05908bc58a6207effa31193479746 100644 (file)
@@ -56,7 +56,7 @@ entry_schema_check(
 
                if( a->a_desc->ad_type->sat_check ) {
                        int rc = (a->a_desc->ad_type->sat_check)(
-                               e, a, text, textbuf, textlen );
+                               be, e, a, text, textbuf, textlen );
                        if( rc != LDAP_SUCCESS ) {
                                return rc;
                        }
@@ -209,7 +209,7 @@ entry_schema_check(
                }
 
                if ( oc->sco_check ) {
-                       int rc = (oc->sco_check)( e, oc,
+                       int rc = (oc->sco_check)( be, e, oc,
                                text, textbuf, textlen );
                        if( rc != LDAP_SUCCESS ) {
                                return rc;