diff --git a/servers/slapd/schema_check.c b/servers/slapd/schema_check.c index 19bed5b3bb..e3b76090e7 100644 --- a/servers/slapd/schema_check.c +++ b/servers/slapd/schema_check.c @@ -572,6 +572,10 @@ int oc_check_allowed( for ( i = 0; socs[i]; i++ ) { /* if we know about the oc */ ObjectClass *oc = socs[i]; + /* extensibleObject allows all */ + if ( oc == slap_schema.si_oc_extensibleObject ) { + return LDAP_SUCCESS; + } if ( oc != NULL && oc->soc_kind != LDAP_SCHEMA_ABSTRACT && ( sc == NULL || oc->soc_kind == LDAP_SCHEMA_AUXILIARY )) {