}
if ( at->at_collective ) {
-#ifdef SLAP_COLLECTIVE
if( at->at_usage ) {
/* collective attributes cannot be operational */
- return SLAP_SCHERR_NOT_SUPPORTED;
+ return SLAP_SCHERR_ATTR_BAD_USAGE;
}
+
if( at->at_single_value ) {
/* collective attributes cannot be single-valued */
- return SLAP_SCHERR_NOT_SUPPORTED;
+ return SLAP_SCHERR_ATTR_BAD_USAGE;
}
-#else
- return SLAP_SCHERR_NOT_SUPPORTED;
-#endif
}
sat = (AttributeType *) ch_calloc( 1, sizeof(AttributeType) );