From cea174618257c3475faf8e800fd8aa8355d87911 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Thu, 21 Feb 2002 19:29:32 +0000 Subject: [PATCH] Return proper result codes for usage errors --- servers/slapd/at.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/servers/slapd/at.c b/servers/slapd/at.c index ed8fd6ef79..45ff44600e 100644 --- a/servers/slapd/at.c +++ b/servers/slapd/at.c @@ -334,12 +334,12 @@ at_add( if ( at->at_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; } } -- 2.39.5