Note that the server may return a portion of the matching entries before this result. 5: Compare False This indicates that a compare operation was processed successfully but that the target In most cases, if you want information about the error generated, you should call the toString() method instead. Otherwise, a local error code is returned. Document information More support for: IBM Domino LDAP Software version: 6.0, 6.5, 7.0, 8.0 Operating system(s): AIX, HP-UX, IBM i, Linux, Platform Independent, Solaris, Windows Reference #: 1214189 Modified date: 30 navigate here
arguments - The modifying arguments to be included in the message string. Additionally, we are seeing the following. Contents 1 Overview 2 Standard Error Codes 3 Customized Error Codes 1 Overview You can see error codes when issues occur with your LDAP connection. staticint PARAM_ERROR (89) When calling a constructor or method from your client, one or more parameters were incorrectly specified.
staticint ATTRIBUTE_OR_VALUE_EXISTS Indicates that the attribute value specified in a modify or add operation already exists as a value for that attribute. For example: netscape/ldap/error/ErrorCodes_en_US.props Parameters:code - the error code for which to get the corresponding errorlocale - the java.util.Locale object representing the locale of the error message that you want to staticint COMPARE_FALSE (5) Value returned by an LDAP compare operation if the specified attribute and value is not found in the entry (no matching value found). Note that some servers use this result for a bind request that targets a nonexistent user, even though "invalid credentials" is a more appropriate result for that case. 33: Alias Problem
Parameters:messageOrKey - Key to addition result information, a key into ExceptionMessages, or the information itself if the key doesn't exist. staticint AFFECTS_MULTIPLE_DSAS Indicates that the modify DN operation moves the entry from one LDAP server to another and thus requires more than one LDAP server. staticint PROTOCOL_ERROR (2) A LDAP server could not correctly interpret the request sent by your client because the request does not strictly comply with the LDAP protocol. Ldap Error Code 32 The modify attribute request specifies attributes that users cannot modify.
See Also: LDAPControl NO_RESULTS_RETURNED public static final int NO_RESULTS_RETURNED (94) No results have been returned from the server. Active Directory Ldap Error Codes The constraint can be one of size or content (for example, string only, no binary data). The LDAPConnection class is implemented so that LDAPConnection.authenticate always uses the LDAP_AUTH_SIMPLE method of authentication. (LDAPConnection.authenticate does not allow you to select the method of authentication.) LDAP_PARTIAL_RESULTS public static final int https://www.ibm.com/support/knowledgecenter/SSVJJU_6.2.0/com.ibm.IBMDS.doc_6.2/admin_gd32.htm The modify attribute request specifies attributes that users cannot modify.
staticint SERVER_DOWN (81) The LDAP server cannot be contacted. Ldapsearch Additional parameters specify the result code and server message. getResultCode public int getResultCode() Returns the result code from the exception. BUSY = 51 See Also:Constant Field Values UNAVAILABLE public static final int UNAVAILABLE Indicates that the LDAP server cannot process the client's bind request, usually because it is shutting down.
These client-side result codes include those listed below: 81: Server Down This generally indicates that a previously-established connection is no longer valid. https://docs.oracle.com/cd/E19957-01/816-5618-10/netscape/ldap/LDAPException.html This is a general exception which includes a message and an LDAP result code. Ldap Error Code 10 - Referral The constraint can be one of size or content (string only, no binary). 20 LDAP_TYPE_OR_VALUE_EXISTS Indicates that the attribute value specified in a modify or add operation already exists as a Ldap Error Code 81 Message: The getMessage method returns a localized message from the message resource that corresponds to the result code.
Returns:A message corresponding to the result code in the specified locale, or null if the message is not available for the requested locale. check over here This is the default value for NDS error codes which do not map to other LDAP error codes. 3 Customized Error Codes Error / Data Code Error 10000 LDAP_ERROR_GENEREL 10001 LDAP_ERROR_MAL_FORMED_URL arguments - The modifying arguments to be included in the message string. Note that this value is not always valid. -1 indicates that the result code is invalid. Returns:the LDAP result code of the last operation. getLDAPErrorMessage public java.lang.String getLDAPErrorMessage() Returns Ldap Error Code 49
staticint ENCODING_ERROR Indicates that the LDAP client encountered errors when encoding an LDAP request intended for the LDAP server. Returns only when presented with a valid username and valid password credential. 49 / 532 PASSWORD_EXPIRED Indicates an Active Directory (AD) AcceptSecurityContext data error that is a logon failure. If the exception resulted from an operation being executed on a server, the value is an empty string except when the result of the operation was one of the following:NO_SUCH_OBJECT his comment is here staticint CONSTRAINT_VIOLATION (19) An internal error occurred in the LDAP server.
BDC0 failed test FrsEvent Starting test: KccEvent * The KCC Event log test The event log Directory Service on server BDC0.ourdomain.org Ldap Port Indicates that the results of a compare operation are false. Since we saw no other errors with replication, etc.
This code is not returned on following operations: Search operations that find the search base but cannot find any entries that match the search filter. ADMIN_LIMIT_EXCEEDED = 11 See Also:Constant Field Values UNAVAILABLE_CRITICAL_EXTENSION public static final int UNAVAILABLE_CRITICAL_EXTENSION Indicates that the LDAP server was unable to satisfy a request because one or more critical extensions It does not indicate that the client has sent an erroneous message. INDEX_RANGE_ERROR public static final int INDEX_RANGE_ERROR (61) An index range error occurred.
For example, either of the following cause this error: The client returns simple credentials when strong credentials are required. staticint UNWILLING_TO_PERFORM (53) The LDAP server is unable to perform the specified operation. NO_MEMORY = 90 See Also:Constant Field Values CONNECT_ERROR public static final int CONNECT_ERROR Indicates that the LDAP client has lost either its connection or cannot establish a connection to the http://cdbug.org/ldap-error/ldap-error-code.php INVALID_DN_SYNTAX = 34 See Also:Constant Field Values IS_LEAF public static final int IS_LEAF Indicates that the specified operation cannot be performed on a leaf entry.
COMPARE_TRUE = 6 See Also:Constant Field Values AUTH_METHOD_NOT_SUPPORTED public static final int AUTH_METHOD_NOT_SUPPORTED Indicates that during a bind operation the client requested an authentication method not supported by the LDAP The String is used either as a message key to obtain a localized messsage from ExceptionMessages, or if there is no key in the resource matching the text, it is used java.lang.String resultCodeToString(java.util.Localelocale) Returns a string representing the result code in the specified locale. CONSTRAINT_VIOLATION public static final int CONSTRAINT_VIOLATION (19) An internal error occurred in the LDAP server.
For example, The request places the entry subordinate to an alias. For a bind operation, it may indicate that the client attempted to use an unsupported LDAP protocol version. Note that this does not necessarily mean that the associated operation was aborted in the server, and it is entirely possible that an operation that was canceled on the client still This should generally be used when no other client-side result code is more appropriate. 83: Encoding Error This indicates that a client-side problem was encountered while attempting to encode a request
JTW Tuesday, August 04, 2015 2:38 AM Reply | Quote Answers 0 Sign in to vote Hi Purvesh, We researched this a little more and found (2) things: 1. staticjava.lang.String resultCodeToString(intcode, java.util.Localelocale) Returns a string representing the specified error code in the specified locale.