4714N/A/*
4714N/A * CDDL HEADER START
4714N/A *
4714N/A * The contents of this file are subject to the terms of the
4714N/A * Common Development and Distribution License, Version 1.0 only
4714N/A * (the "License"). You may not use this file except in compliance
4714N/A * with the License.
4714N/A *
6982N/A * You can obtain a copy of the license at legal-notices/CDDLv1_0.txt
6982N/A * or http://forgerock.org/license/CDDLv1.0.html.
4714N/A * See the License for the specific language governing permissions
4714N/A * and limitations under the License.
4714N/A *
4714N/A * When distributing Covered Code, include this CDDL HEADER in each
6982N/A * file and include the License file at legal-notices/CDDLv1_0.txt.
6982N/A * If applicable, add the following below this CDDL HEADER, with the
6982N/A * fields enclosed by brackets "[]" replaced with your own identifying
6982N/A * information:
4714N/A * Portions Copyright [yyyy] [name of copyright owner]
4714N/A *
4714N/A * CDDL HEADER END
4714N/A *
4714N/A *
4714N/A * Portions Copyright 2009 Sun Microsystems, Inc.
4714N/A */
4714N/A
4714N/Apackage com.ibm.staf.service.opends.tester;
4714N/A
4714N/A/**
4714N/A * This class defines a set of constants that correspond to the result codes
4714N/A * defined in the LDAP protocol. Note that many (but not all) of the result
4714N/A * codes numbered 81 and higher come from the LDAP C API specification and are
4714N/A * only intended for client-side use and should not be returned from the
4714N/A * Directory Server. These are denoted with a "CLIENT_SIDE_" prefix.
4714N/A */
4714N/Apublic class LDAPResultCode
4714N/A{
4714N/A /**
4714N/A * The LDAP result code for successful operations.
4714N/A */
4714N/A public static final int SUCCESS = 0;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail due to an operations error.
4714N/A */
4714N/A public static final int OPERATIONS_ERROR = 1;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail due to a protocol error.
4714N/A */
4714N/A public static final int PROTOCOL_ERROR = 2;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail as a result of exceeding a
4714N/A * time limit.
4714N/A */
4714N/A public static final int TIME_LIMIT_EXCEEDED = 3;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail as a result of exceeding a
4714N/A * size limit.
4714N/A */
4714N/A public static final int SIZE_LIMIT_EXCEEDED = 4;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for compare operations in which the assertion is
4714N/A * false.
4714N/A */
4714N/A public static final int COMPARE_FALSE = 5;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for compare operations in which the assertion is true.
4714N/A */
4714N/A public static final int COMPARE_TRUE = 6;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the requested
4714N/A * authentication method is not supported.
4714N/A */
4714N/A public static final int AUTH_METHOD_NOT_SUPPORTED = 7;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because strong authentication
4714N/A * is required.
4714N/A */
4714N/A public static final int STRONG_AUTH_REQUIRED = 8;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that encountered a referral.
4714N/A */
4714N/A public static final int REFERRAL = 10;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail as a result of exceeding an
4714N/A * administrative limit.
4714N/A */
4714N/A public static final int ADMIN_LIMIT_EXCEEDED = 11;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because they contain an
4714N/A * unavailable critical extension.
4714N/A */
4714N/A public static final int UNAVAILABLE_CRITICAL_EXTENSION = 12;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because confidentiality is
4714N/A * required.
4714N/A */
4714N/A public static final int CONFIDENTIALITY_REQUIRED = 13;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code used for multi-stage SASL bind operations that are not
4714N/A * yet complete.
4714N/A */
4714N/A public static final int SASL_BIND_IN_PROGRESS = 14;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because a specified attribute
4714N/A * does not exist.
4714N/A */
4714N/A public static final int NO_SUCH_ATTRIBUTE = 16;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because a specified attribute
4714N/A * type is not defined in the server schema.
4714N/A */
4714N/A public static final int UNDEFINED_ATTRIBUTE_TYPE = 17;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail as a result of attempting an
4714N/A * inappropriate form of matching on an attribute.
4714N/A */
4714N/A public static final int INAPPROPRIATE_MATCHING = 18;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because a defined constraint
4714N/A * has been violated.
4714N/A */
4714N/A public static final int CONSTRAINT_VIOLATION = 19;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because of a conflict with an
4714N/A * existing attribute or value.
4714N/A */
4714N/A public static final int ATTRIBUTE_OR_VALUE_EXISTS = 20;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because of an invalid
4714N/A * attribute syntax.
4714N/A */
4714N/A public static final int INVALID_ATTRIBUTE_SYNTAX = 21;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because a targeted entry does
4714N/A * not exist.
4714N/A */
4714N/A public static final int NO_SUCH_OBJECT = 32;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the an alias was
4714N/A * encountered in an illegal context.
4714N/A */
4714N/A public static final int ALIAS_PROBLEM = 33;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the request included
4714N/A * a malformed DN.
4714N/A */
4714N/A public static final int INVALID_DN_SYNTAX = 34;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because a problem occurred
4714N/A * while attempting to dereference an alias.
4714N/A */
4714N/A public static final int ALIAS_DEREFERENCING_PROBLEM = 36;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the user attempted to
4714N/A * perform a type of authentication that was inappropriate for the targeted
4714N/A * entry.
4714N/A */
4714N/A public static final int INAPPROPRIATE_AUTHENTICATION = 48;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the user supplied
4714N/A * invalid credentials for an authentication attempt.
4714N/A */
4714N/A public static final int INVALID_CREDENTIALS = 49;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the client does not
4714N/A * have permission to perform the requested operation.
4714N/A */
4714N/A public static final int INSUFFICIENT_ACCESS_RIGHTS = 50;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the server was too
4714N/A * busy to process it.
4714N/A */
4714N/A public static final int BUSY = 51;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the server or a
4714N/A * required resource was unavailable.
4714N/A */
4714N/A public static final int UNAVAILABLE = 52;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the server was
4714N/A * unwilling to perform the requested operation.
4714N/A */
4714N/A public static final int UNWILLING_TO_PERFORM = 53;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because a referral or
4714N/A * chaining loop was detected.
4714N/A */
4714N/A public static final int LOOP_DETECT = 54;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the request included
4714N/A * a VLV request control without a server-side sort control.
4714N/A */
4714N/A public static final int SORT_CONTROL_MISSING = 60;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the request included
4714N/A * a VLV request control with an invalid offset.
4714N/A */
4714N/A public static final int OFFSET_RANGE_ERROR = 61;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail due to a naming violation.
4714N/A */
4714N/A public static final int NAMING_VIOLATION = 64;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the requested
4714N/A * operation would have resulted in an entry that violates the server schema.
4714N/A */
4714N/A public static final int OBJECTCLASS_VIOLATION = 65;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the requested
4714N/A * operation is not allowed on non-leaf entries.
4714N/A */
4714N/A public static final int NOT_ALLOWED_ON_NONLEAF = 66;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the requested
4714N/A * operation is not allowed on an RDN attribute.
4714N/A */
4714N/A public static final int NOT_ALLOWED_ON_RDN = 67;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the requested
4714N/A * operation would have resulted in an entry that conflicts with one that
4714N/A * already exists.
4714N/A */
4714N/A public static final int ENTRY_ALREADY_EXISTS = 68;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the requested
4714N/A * operation attempted to modify objectclass values in an illegal manner.
4714N/A */
4714N/A public static final int OBJECTCLASS_MODS_PROHIBITED = 69;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the requested
4714N/A * operation would have required interaction with multiple DSAs.
4714N/A */
4714N/A public static final int AFFECTS_MULTIPLE_DSAS = 71;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail due to an error in
4714N/A * virtual list view processing.
4714N/A */
4714N/A public static final int VIRTUAL_LIST_VIEW_ERROR = 76;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for use in cases in which none of the other defined
4714N/A * result codes are appropriate.
4714N/A */
4714N/A public static final int OTHER = 80;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that a previously-established
4714N/A * connection to the server was lost. This is for client-side use only and
4714N/A * should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_SERVER_DOWN = 81;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that a local error occurred that
4714N/A * had nothing to do with interaction with the server. This is for
4714N/A * client-side use only and should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_LOCAL_ERROR = 82;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that an error occurred while
4714N/A * encoding a request to send to the server. This is for client-side use only
4714N/A * and should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_ENCODING_ERROR = 83;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that an error occurred while
4714N/A * decoding a response from the server. This is for client-side use only and
4714N/A * should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_DECODING_ERROR = 84;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the client did not receive
4714N/A * an expected response in a timely manner. This is for client-side use only
4714N/A * and should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_TIMEOUT = 85;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the user requested an
4714N/A * unknown or unsupported authentication mechanism. This is for client-side
4714N/A * use only and should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_AUTH_UNKNOWN = 86;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the filter provided by the
4714N/A * user was malformed and could not be parsed. This is for client-side use
4714N/A * only and should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_FILTER_ERROR = 87;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the user cancelled an
4714N/A * operation. This is for client-side use only and should never be
4714N/A * transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_USER_CANCELLED = 88;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that there was a problem with
4714N/A * one or more of the parameters provided by the user. This is for
4714N/A * client-side use only and should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_PARAM_ERROR = 89;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the client application was
4714N/A * not able to allocate enough memory for the requested operation. This is
4714N/A * for client-side use only and should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_NO_MEMORY = 90;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the client was not able to
4714N/A * establish a connection to the server. This is for client-side use only and
4714N/A * should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_CONNECT_ERROR = 91;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the user requested an
4714N/A * operation that is not supported. This is for client-side use only and
4714N/A * should never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_NOT_SUPPORTED = 92;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the client expected a
4714N/A * control to be present in the response from the server but it was not
4714N/A * included. This is for client-side use only and should never be transferred
4714N/A * over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_CONTROL_NOT_FOUND = 93;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the server did not return
4714N/A * any results for a search operation that was expected to match at least one
4714N/A * entry. This is for client-side use only and should never be transferred
4714N/A * over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_NO_RESULTS_RETURNED = 94;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the server has returned
4714N/A * more matching entries for a search operation than have been processed so
4714N/A * far. This is for client-side use only and should never be transferred over
4714N/A * protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_MORE_RESULTS_TO_RETURN = 95;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the client detected a
4714N/A * referral loop caused by servers referencing each other in a circular
4714N/A * manner. This is for client-side use only and should never be transferred
4714N/A * over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_CLIENT_LOOP = 96;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The client-side result code that indicates that the client reached the
4714N/A * maximum number of hops allowed when attempting to follow a referral (i.e.,
4714N/A * following one referral resulted in another referral which resulted in
4714N/A * another referral and so on). This is for client-side use only and should
4714N/A * never be transferred over protocol.
4714N/A */
4714N/A public static final int CLIENT_SIDE_REFERRAL_LIMIT_EXCEEDED = 97;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for cancel operations that are successful, or for
4714N/A * operations that are canceled.
4714N/A */
4714N/A public static final int CANCELED = 118;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for cancel operations that fail because the specified
4714N/A * operation could not be found.
4714N/A */
4714N/A public static final int NO_SUCH_OPERATION = 119;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for cancel operations that fail because the specified
4714N/A * operation has already progressed too far to be canceled.
4714N/A */
4714N/A public static final int TOO_LATE = 120;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for cancel operations that fail because the specified
4714N/A * operation cannot be canceled.
4714N/A */
4714N/A public static final int CANNOT_CANCEL = 121;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that are rejected because the
4714N/A * filter in the LDAP assertion control did not match the target entry.
4714N/A */
4714N/A public static final int ASSERTION_FAILED = 122;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations that fail because the server refused
4714N/A * the client's requested authorization.
4714N/A */
4714N/A public static final int AUTHORIZATION_DENIED = 123;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * The LDAP result code for operations in which no action is taken because the
4714N/A * request include the LDAP no-op control.
4714N/A *
4714N/A * FIXME -- This is a temporary result code for use until
4714N/A * draft-zeilenga-ldap-noop is updated and an official result code is
4714N/A * allocated for it. In the meantime, this result appears to be the
4714N/A * one used by OpenLDAP as per the message at
4714N/A * http://www.openldap.org/lists/openldap-devel/200601/msg00143.html
4714N/A * (0x410e = 16654).
4714N/A */
4714N/A public static final int NO_OPERATION = 16654;
4714N/A
4714N/A
4714N/A
4714N/A /**
4714N/A * Retrieves a string representation of the provided LDAP result code.
4714N/A *
4714N/A * @param resultCode The LDAP result code value for which to obtain the
4714N/A * string representation.
4714N/A *
4714N/A * @return The string representation of the provided LDAP result code.
4714N/A */
4714N/A public static String toString(int resultCode)
4714N/A {
4714N/A String message;
4714N/A
4714N/A switch (resultCode)
4714N/A {
4714N/A case SUCCESS:
4714N/A message = "SUCCESS";
4714N/A break;
4714N/A case OPERATIONS_ERROR:
4714N/A message = "OPERATIONS_ERROR";
4714N/A break;
4714N/A case PROTOCOL_ERROR:
4714N/A message = "PROTOCOL_ERROR";
4714N/A break;
4714N/A case TIME_LIMIT_EXCEEDED:
4714N/A message = "TIME_LIMIT_EXCEEDED";
4714N/A break;
4714N/A case SIZE_LIMIT_EXCEEDED:
4714N/A message = "SIZE_LIMIT_EXCEEDED";
4714N/A break;
4714N/A case COMPARE_FALSE:
4714N/A message = "COMPARE_FALSE";
4714N/A break;
4714N/A case COMPARE_TRUE:
4714N/A message = "COMPARE_TRUE";
4714N/A break;
4714N/A case AUTH_METHOD_NOT_SUPPORTED:
4714N/A message = "AUTH_METHOD_NOT_SUPPORTED";
4714N/A break;
4714N/A case STRONG_AUTH_REQUIRED:
4714N/A message = "STRONG_AUTH_REQUIRED";
4714N/A break;
4714N/A case REFERRAL:
4714N/A message = "REFERRAL";
4714N/A break;
4714N/A case ADMIN_LIMIT_EXCEEDED:
4714N/A message = "ADMIN_LIMIT_EXCEEDED";
4714N/A break;
4714N/A case UNAVAILABLE_CRITICAL_EXTENSION:
4714N/A message = "UNAVAILABLE_CRITICAL_EXTENSION";
4714N/A break;
4714N/A case CONFIDENTIALITY_REQUIRED:
4714N/A message = "CONFIDENTIALITY_REQUIRED";
4714N/A break;
4714N/A case SASL_BIND_IN_PROGRESS:
4714N/A message = "SASL_BIND_IN_PROGRESS";
4714N/A break;
4714N/A case NO_SUCH_ATTRIBUTE:
4714N/A message = "NO_SUCH_ATTRIBUTE";
4714N/A break;
4714N/A case UNDEFINED_ATTRIBUTE_TYPE:
4714N/A message = "UNDEFINED_ATTRIBUTE_TYPE";
4714N/A break;
4714N/A case INAPPROPRIATE_MATCHING:
4714N/A message = "INAPPROPRIATE_MATCHING";
4714N/A break;
4714N/A case CONSTRAINT_VIOLATION:
4714N/A message = "CONSTRAINT_VIOLATION";
4714N/A break;
4714N/A case ATTRIBUTE_OR_VALUE_EXISTS:
4714N/A message = "ATTRIBUTE_OR_VALUE_EXISTS";
4714N/A break;
4714N/A case INVALID_ATTRIBUTE_SYNTAX:
4714N/A message = "INVALID_ATTRIBUTE_SYNTAX";
4714N/A break;
4714N/A case NO_SUCH_OBJECT:
4714N/A message = "NO_SUCH_OBJECT";
4714N/A break;
4714N/A case ALIAS_PROBLEM:
4714N/A message = "ALIAS_PROBLEM";
4714N/A break;
4714N/A case INVALID_DN_SYNTAX:
4714N/A message = "INVALID_DN_SYNTAX";
4714N/A break;
4714N/A case ALIAS_DEREFERENCING_PROBLEM:
4714N/A message = "ALIAS_DEREFERENCING_PROBLEM";
4714N/A break;
4714N/A case INAPPROPRIATE_AUTHENTICATION:
4714N/A message = "INAPPROPRIATE_AUTHENTICATION";
4714N/A break;
4714N/A case INVALID_CREDENTIALS:
4714N/A message = "INVALID_CREDENTIALS";
4714N/A break;
4714N/A case INSUFFICIENT_ACCESS_RIGHTS:
4714N/A message = "INSUFFICIENT_ACCESS_RIGHTS";
4714N/A break;
4714N/A case BUSY:
4714N/A message = "BUSY";
4714N/A break;
4714N/A case UNAVAILABLE:
4714N/A message = "UNAVAILABLE";
4714N/A break;
4714N/A case UNWILLING_TO_PERFORM:
4714N/A message = "UNWILLING_TO_PERFORM";
4714N/A break;
4714N/A case LOOP_DETECT:
4714N/A message = "LOOP_DETECT";
4714N/A break;
4714N/A case SORT_CONTROL_MISSING:
4714N/A message = "SORT_CONTROL_MISSING";
4714N/A break;
4714N/A case OFFSET_RANGE_ERROR:
4714N/A message = "OFFSET_RANGE_ERROR";
4714N/A break;
4714N/A case NAMING_VIOLATION:
4714N/A message = "NAMING_VIOLATION";
4714N/A break;
4714N/A case OBJECTCLASS_VIOLATION:
4714N/A message = "OBJECTCLASS_VIOLATION";
4714N/A break;
4714N/A case NOT_ALLOWED_ON_NONLEAF:
4714N/A message = "NOT_ALLOWED_ON_NONLEAF";
4714N/A break;
4714N/A case NOT_ALLOWED_ON_RDN:
4714N/A message = "NOT_ALLOWED_ON_RDN";
4714N/A break;
4714N/A case ENTRY_ALREADY_EXISTS:
4714N/A message = "ENTRY_ALREADY_EXISTS";
4714N/A break;
4714N/A case OBJECTCLASS_MODS_PROHIBITED:
4714N/A message = "OBJECTCLASS_MODS_PROHIBITED";
4714N/A break;
4714N/A case AFFECTS_MULTIPLE_DSAS:
4714N/A message = "AFFECTS_MULTIPLE_DSAS";
4714N/A break;
4714N/A case VIRTUAL_LIST_VIEW_ERROR:
4714N/A message = "VIRTUAL_LIST_VIEW_ERROR";
4714N/A break;
4714N/A case CLIENT_SIDE_SERVER_DOWN:
4714N/A message = "CLIENT_SIDE_SERVER_DOWN";
4714N/A break;
4714N/A case CLIENT_SIDE_LOCAL_ERROR:
4714N/A message = "CLIENT_SIDE_LOCAL_ERROR";
4714N/A break;
4714N/A case CLIENT_SIDE_ENCODING_ERROR:
4714N/A message = "CLIENT_SIDE_ENCODING_ERROR";
4714N/A break;
4714N/A case CLIENT_SIDE_DECODING_ERROR:
4714N/A message = "CLIENT_SIDE_DECODING_ERROR";
4714N/A break;
4714N/A case CLIENT_SIDE_TIMEOUT:
4714N/A message = "CLIENT_SIDE_TIMEOUT";
4714N/A break;
4714N/A case CLIENT_SIDE_AUTH_UNKNOWN:
4714N/A message = "CLIENT_SIDE_AUTH_UNKNOWN";
4714N/A break;
4714N/A case CLIENT_SIDE_FILTER_ERROR:
4714N/A message = "CLIENT_SIDE_FILTER_ERROR";
4714N/A break;
4714N/A case CLIENT_SIDE_USER_CANCELLED:
4714N/A message = "CLIENT_SIDE_USER_CANCELLED";
4714N/A break;
4714N/A case CLIENT_SIDE_PARAM_ERROR:
4714N/A message = "CLIENT_SIDE_PARAM_ERROR";
4714N/A break;
4714N/A case CLIENT_SIDE_NO_MEMORY:
4714N/A message = "CLIENT_SIDE_NO_MEMORY";
4714N/A break;
4714N/A case CLIENT_SIDE_CONNECT_ERROR:
4714N/A message = "CLIENT_SIDE_CONNECT_ERROR";
4714N/A break;
4714N/A case CLIENT_SIDE_NOT_SUPPORTED:
4714N/A message = "CLIENT_SIDE_NOT_SUPPORTED";
4714N/A break;
4714N/A case CLIENT_SIDE_CONTROL_NOT_FOUND:
4714N/A message = "CLIENT_SIDE_CONTROL_NOT_FOUND";
4714N/A break;
4714N/A case CLIENT_SIDE_NO_RESULTS_RETURNED:
4714N/A message = "CLIENT_SIDE_NO_RESULTS_RETURNED";
4714N/A break;
4714N/A case CLIENT_SIDE_MORE_RESULTS_TO_RETURN:
4714N/A message = "CLIENT_SIDE_MORE_RESULTS_TO_RETURN";
4714N/A break;
4714N/A case CLIENT_SIDE_CLIENT_LOOP:
4714N/A message = "CLIENT_SIDE_CLIENT_LOOP";
4714N/A break;
4714N/A case CLIENT_SIDE_REFERRAL_LIMIT_EXCEEDED:
4714N/A message = "CLIENT_SIDE_REFERRAL_LIMIT_EXCEEDED";
4714N/A break;
4714N/A case CANCELED:
4714N/A message = "CANCELED";
4714N/A break;
4714N/A case NO_SUCH_OPERATION:
4714N/A message = "NO_SUCH_OPERATION";
4714N/A break;
4714N/A case TOO_LATE:
4714N/A message = "TOO_LATE";
4714N/A break;
4714N/A case CANNOT_CANCEL:
4714N/A message = "CANNOT_CANCEL";
4714N/A break;
4714N/A case ASSERTION_FAILED:
4714N/A message = "ASSERTION_FAILED";
4714N/A break;
4714N/A case AUTHORIZATION_DENIED:
4714N/A message = "AUTHORIZATION_DENIED";
4714N/A break;
4714N/A case NO_OPERATION:
4714N/A message = "NO_OPERATION";
4714N/A break;
4714N/A default:
4714N/A message = "OTHER";
4714N/A break;
4714N/A }
4714N/A
4714N/A return message;
4714N/A }
4714N/A}
4714N/A