mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Fixed bogus handling of objectclass in oc_schema_check.
This commit is contained in:
parent
4a683c204d
commit
f5d28c6df5
1 changed files with 1 additions and 1 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Reference in a new issue