Commit 35cd3edc authored by Julio Sánchez Fernández's avatar Julio Sánchez Fernández
Browse files

Fixed bogus handling of objectclass in oc_schema_check.

parent 762662cd
......@@ -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 */
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment