]> git.sur5r.net Git - openldap/commitdiff
no structuralObjectClass is not a schema violation, but an
authorKurt Zeilenga <kurt@openldap.org>
Tue, 27 Aug 2002 02:28:15 +0000 (02:28 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 27 Aug 2002 02:28:15 +0000 (02:28 +0000)
internal error.  It *should* have been added.

servers/slapd/schema_check.c

index a6b6b98acc2ebd2947f1abac5d167b9e7dc49ec3..4a57356be71a850e1052e2d4ea895c8c308133d7 100644 (file)
@@ -113,7 +113,7 @@ entry_schema_check(
 #endif
 
                *text = "no structuralObjectClass operational attribute";
-               return LDAP_OBJECT_CLASS_VIOLATION;
+               return LDAP_OTHER;
        }
 
        assert( asc->a_vals != NULL );