From 814e6a305f6cde53bb6f5b72ac3111145d10a46e Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 17 Feb 2007 17:31:45 +0000 Subject: [PATCH] extensibleObject allows all --- servers/slapd/schema_check.c | 4 ++++ 1 file changed, 4 insertions(+) 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 )) {