Skip to content
Snippets Groups Projects
Commit f5d28c6d 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 4a683c20
No related branches found
No related tags found
No related merge requests found
......@@ -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 */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment