Fixed bogus handling of objectclass in oc_schema_check.

This commit is contained in:
Julio Sánchez Fernández 1999-06-16 12:10:13 +00:00
parent 762662cd15
commit 35cd3edc3d

View 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 */