]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Fixed bogus handling of objectclass in oc_schema_check.
authorJulio Sánchez Fernández <jsanchez@openldap.org>
Wed, 16 Jun 1999 12:10:13 +0000 (12:10 +0000)
committerJulio Sánchez Fernández <jsanchez@openldap.org>
Wed, 16 Jun 1999 12:10:13 +0000 (12:10 +0000)
servers/slapd/schema.c

index f4fab6022c3403ff5e94d6b2a5c05cf38754ba2e..244d9c046c179a7f036f41d75cc52d483ba5c42c 100644 (file)
@@ -30,7 +30,7 @@ oc_schema_check( Entry *e )
        if ( (aoc = attr_find( e->e_attrs, "objectclass" )) == NULL ) {
                Debug( LDAP_DEBUG_ANY, "No object class for entry (%s)\n",
                    e->e_dn, 0, 0 );
-               return( 0 );
+               return( 1 );
        }
 
        /* check that the entry has required attrs for each oc */