]> git.sur5r.net Git - openldap/commitdiff
Remove debugging assert committed by mistake
authorKurt Zeilenga <kurt@openldap.org>
Tue, 23 May 2000 20:47:38 +0000 (20:47 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 23 May 2000 20:47:38 +0000 (20:47 +0000)
servers/slapd/schema_check.c

index 6aad6a2bea766b33c4e15f79b7170491af4fa2e6..5ada57b7bcdfbc0b8bba23e4c54c5bc82670c56b 100644 (file)
@@ -52,8 +52,6 @@ entry_schema_check(
        if ( (aoc = attr_find( e->e_attrs, ad_objectClass )) == NULL ) {
                Debug( LDAP_DEBUG_ANY, "No object class for entry (%s)\n",
                    e->e_dn, 0, 0 );
-               assert(0);
-
                *text = "no objectclass attribute";
                return oldattrs != NULL
                        ? LDAP_OBJECT_CLASS_VIOLATION
@@ -66,8 +64,8 @@ entry_schema_check(
        for ( i = 0; aoc->a_vals[i] != NULL; i++ ) {
                if ( (oc = oc_find( aoc->a_vals[i]->bv_val )) == NULL ) {
                        Debug( LDAP_DEBUG_ANY,
-                               "Objectclass \"%s\" not defined\n",
-                               aoc->a_vals[i]->bv_val, 0, 0 );
+                               "entry_check_schema(%s): objectclass \"%s\" not defined\n",
+                               e->e_dn, aoc->a_vals[i]->bv_val, 0 );
 
                } else {
                        char *s = oc_check_required( e, aoc->a_vals[i] );