]> git.sur5r.net Git - openldap/commitdiff
don't treat undefined oc as extensibleObject
authorKurt Zeilenga <kurt@openldap.org>
Sat, 18 Dec 1999 03:10:22 +0000 (03:10 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Sat, 18 Dec 1999 03:10:22 +0000 (03:10 +0000)
servers/slapd/schema.c

index 8bfc836e801604bfc1989fcfab36c57101267ae3..5e4d9791bfe26106a328e20ab94c041196a35adf 100644 (file)
@@ -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
                }
        }