From: Kurt Zeilenga Date: Sat, 18 Dec 1999 03:10:22 +0000 (+0000) Subject: don't treat undefined oc as extensibleObject X-Git-Tag: UCDATA_2_4~72 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=79b31f63c29029cc0197e78f45744f01a1231648;p=openldap don't treat undefined oc as extensibleObject --- diff --git a/servers/slapd/schema.c b/servers/slapd/schema.c index 8bfc836e80..5e4d9791bf 100644 --- a/servers/slapd/schema.c +++ b/servers/slapd/schema.c @@ -311,11 +311,13 @@ oc_check_allowed( char *type, struct berval **ocl ) } /* maybe the next oc allows it */ +#ifdef OC_UNDEFINED_IMPLES_EXTENSIBLE /* we don't know about the oc. assume it allows it */ } else { if ( t != type ) ldap_memfree( t ); return( 0 ); +#endif } }