From b21a90d20a8fd8969bfc712c5c7784b7acb93395 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 27 Jan 2000 17:38:38 +0000 Subject: [PATCH] Add support for users to -DSLAPD_UNDEFINED_OC_IS_NOT_EXTENSIBLE (undefined by default) to allow installers to disable undefined objectclass implies extensible object behavior. --- servers/slapd/schema.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/servers/slapd/schema.c b/servers/slapd/schema.c index 244d9c046c..5431913213 100644 --- a/servers/slapd/schema.c +++ b/servers/slapd/schema.c @@ -151,9 +151,11 @@ oc_check_allowed( char *type, struct berval **ocl ) } /* maybe the next oc allows it */ +#ifndef SLAPD_UNDEFINED_OC_IS_NOT_EXTENSIBLE /* we don't know about the oc. assume it allows it */ } else { return( 0 ); +#endif } } -- 2.39.5