From: Julio Sánchez Fernández Date: Wed, 16 Jun 1999 12:10:13 +0000 (+0000) Subject: Fixed bogus handling of objectclass in oc_schema_check. X-Git-Tag: OPENLDAP_REL_ENG_1_2_4~26 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=35cd3edc3df5ddd69a5a15330d1cbf8b7e0f09f4;p=thirdparty%2Fopenldap.git Fixed bogus handling of objectclass in oc_schema_check. --- diff --git a/servers/slapd/schema.c b/servers/slapd/schema.c index f4fab6022c..244d9c046c 100644 --- a/servers/slapd/schema.c +++ b/servers/slapd/schema.c @@ -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 */