From: Julio Sánchez Fernández Date: Wed, 16 Jun 1999 12:11:47 +0000 (+0000) Subject: Fixed bogus handling of objectclass in oc_schema_check. X-Git-Tag: OPENLDAP_REL_ENG_2_BP~298 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f5d28c6df5f06436ac7904f522c8f60eb64be08c;p=openldap Fixed bogus handling of objectclass in oc_schema_check. --- diff --git a/servers/slapd/schema.c b/servers/slapd/schema.c index 4a1c70d82b..6170afdc97 100644 --- a/servers/slapd/schema.c +++ b/servers/slapd/schema.c @@ -29,7 +29,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 */