int subentry = is_entry_subentry( e );
int collectiveSubentry = 0;
- if( subentry) collectiveSubentry = is_entry_collectiveAttributes( e );
+ if( subentry) collectiveSubentry = is_entry_collectiveAttributeSubentry( e );
*text = textbuf;
if( !collectiveSubentry && is_at_collective( a->a_desc->ad_type ) ) {
snprintf( textbuf, textlen,
- "'%s' can only appear in collectiveAttributes subentry",
+ "'%s' can only appear in collectiveAttributeSubentry",
type );
return LDAP_OBJECT_CLASS_VIOLATION;
}
return LDAP_OBJECT_CLASS_VIOLATION;
}
- if ( oc->sco_check ) {
- int rc = (oc->sco_check)( be, e, oc,
+ if ( oc->soc_check ) {
+ int rc = (oc->soc_check)( be, e, oc,
text, textbuf, textlen );
if( rc != LDAP_SUCCESS ) {
return rc;