-#ifdef SLAPD_SCHEMA_NOT_COMPAT
- /*
- * All operational attributions are allowed by schema rules.
- */
- if( is_at_operational(at) ) {
- return LDAP_SUCCESS;
- }
-#else
- /*
- * The "type" we have received is actually an AttributeDescription.
- * Let's find out the corresponding type.
- */
- p = strchr( type, ';' );
- if ( p ) {
- t = ch_malloc( p-type+1 );
- strncpy( t, type, p-type );
- t[p-type] = '\0';
- Debug( LDAP_DEBUG_TRACE,
- "oc_check_allowed type \"%s\" from \"%s\"\n",
- t, type, 0 );
-
- } else
- {
- t = type;
- }