mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
extensibleObject allows all
This commit is contained in:
parent
735180918d
commit
814e6a305f
@ -572,6 +572,10 @@ int oc_check_allowed(
|
|||||||
for ( i = 0; socs[i]; i++ ) {
|
for ( i = 0; socs[i]; i++ ) {
|
||||||
/* if we know about the oc */
|
/* if we know about the oc */
|
||||||
ObjectClass *oc = socs[i];
|
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 &&
|
if ( oc != NULL && oc->soc_kind != LDAP_SCHEMA_ABSTRACT &&
|
||||||
( sc == NULL || oc->soc_kind == LDAP_SCHEMA_AUXILIARY ))
|
( sc == NULL || oc->soc_kind == LDAP_SCHEMA_AUXILIARY ))
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user