HexDecimalConstantJNDI reports this as
0x000LDAP_SUCCESSIndicates the requested client operation completed successfully.
0x011LDAP_OPERATIONS_ERRORNamingException
0x022LDAP_PROTOCOL_ERRORCommunicationException
0x033LDAP_TIMELIMIT_EXCEEDEDTimeLimitExceededException
0x044LDAP_SIZELIMIT_EXCEEDEDSizeLimitExceededException
0x055LDAP_COMPARE_FALSEUsed by DirContext.search()
0x066LDAP_COMPARE_TRUEUsed by DirContext.search(). Does not generate an exception.
0x077LDAP_AUTH_METHOD_NOT_SUPPORTEDAuthenticationNotSupportedException
0x088LDAP_STRONG_AUTH_REQUIREDAuthenticationNotSupportedException
0x099Reserved.
0x0A10LDAP_REFERRALIf the environment property "java.naming.referral" is set to "ignore" or the contents of the error do not contain a referral, throw a PartialResultException. Otherwise, use contents to build a referral.
0x0B11LDAP_ADMINLIMIT_EXCEEDEDIndicates that an LDAP server limit set by an administrative authority has been exceeded.
0x0C12LDAP_UNAVAILABLE_CRITICAL_EXTENSIONIndicates that the LDAP server was unable to satisfy a request because one or more critical extensions were not available. Either the server does not support the control or the control is not appropriate for the operation type.
0x0D13LDAP_CONFIDENTIALITY_REQUIREDIndicates that the session is not protected by a protocol such as Transport Layer Security (TLS), which provides session confidentiality.
0x0E14LDAP_SASL_BIND_IN_PROGRESSDoes not indicate an error condition, but indicates that the server is ready for the next step in the process. The client must send the server the same SASL mechanism to continue the process.
0x0F15Not used.
0x1016LDAP_NO_SUCH_ATTRIBUTEIndicates that the attribute specified in the modify or compare operation does not exist in the entry.
0x1117LDAP_UNDEFINED_TYPEIndicates that the attribute specified in the modify or add operation does not exist in the LDAP server's schema.
0x1218LDAP_INAPPROPRIATE_MATCHINGIndicates that the matching rule specified in the search filter does not match a rule defined for the attribute's syntax.
0x1319LDAP_CONSTRAINT_VIOLATIONIndicates that the attribute value specified in a modify, add, or modify DN operation violates constraints placed on the attribute. The constraint can be one of size or content (string only, no binary).
0x1420LDAP_TYPE_OR_VALUE_EXISTSIndicates that the attribute value specified in a modify or add operation already exists as a value for that attribute.
0x1521LDAP_INVALID_SYNTAXIndicates that the attribute value specified in an add, compare, or modify operation is an unrecognized or invalid syntax for the attribute.
22-31Not used.
0x2032LDAP_NO_SUCH_OBJECTIndicates the target object cannot be found. 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.
* Bind operations.
0x2133LDAP_ALIAS_PROBLEMNamingException
0x2234LDAP_INVALID_DN_SYNTAXIndicates that the syntax of the DN is incorrect. (If the DN syntax is correct, but the LDAP server's structure rules do not permit the operation, the server returns LDAP_UNWILLING_TO_PERFORM.)
0x2335LDAP_IS_LEAFIndicates that the specified operation cannot be performed on a leaf entry. (This code is not currently in the LDAP specifications, but is reserved for this constant.)
0x2436LDAP_ALIAS_DEREF_PROBLEMNamingException
37-47Not used.
0x3048LDAP_INAPPROPRIATE_AUTHIndicates that during a bind operation, the client is attempting to use an authentication method that the client cannot use correctly. For example, either of the following cause this error:
* The client returns simple credentials when strong credentials are required.
* The client returns a DN and a password for a simple bind when the entry does not have a password defined.
0x3149LDAP_INVALID_CREDENTIALSIndicates that during a bind operation one of the following occurred:
* The client passed either an incorrect DN or password.
* The password is incorrect because it has expired, intruder detection has locked the account, or some other similar reason.
0x3250LDAP_INSUFFICIENT_ACCESSIndicates that the caller does not have sufficient rights to perform the requested operation.
0x3351LDAP_BUSYIndicates that the LDAP server is too busy to process the client request at this time but if the client waits and resubmits the request, the server may be able to process it then.
0x3452LDAP_UNAVAILABLEIndicates that the LDAP server cannot process the client's bind request, usually because it is shutting down.
0x3553LDAP_UNWILLING_TO_PERFORMIndicates that the LDAP server cannot process the request because of server-defined restrictions. This error is returned for the following reasons:
* The add entry request violates the server's structure rules.
* The modify attribute request specifies attributes that users cannot modify.
* Password restrictions prevent the action.
* Connection restrictions prevent the action.
0x3654LDAP_LOOP_DETECTNamingException
55-63Not used.
0x4064LDAP_NAMING_VIOLATIONIndicates that the add or modify DN operation violates the schema's structure rules. For example:
* The request places the entry subordinate to an alias.
* The request places the entry subordinate to a container that is forbidden by the containment rules.
* The RDN for the entry uses a forbidden attribute type.
0x4165LDAP_OBJECT_CLASS_VIOLATIONIndicates that the add, modify, or modify DN operation violates the object class rules for the entry. For example, the following types of request return this error:
* The add or modify operation tries to add an entry without a value for a required attribute.
* The add or modify operation tries to add an entry with a value for an attribute which the class definition does not contain.
* The modify operation tries to remove a required attribute without removing the auxiliary class that defines the attribute as required.
0x4266LDAP_NOT_ALLOWED_ON_NONLEAFIndicates that the requested operation is permitted only on leaf entries. For example, the following types of requests return this error:
* The client requests a delete operation on a parent entry.
* The client request a modify DN operation on a parent entry.
0x4367LDAP_NOT_ALLOWED_ON_RDNIndicates that the modify operation attempted to remove an attribute value that forms the entry's relative distinguished name.
0x4468LDAP_ALREADY_EXISTSIndicates that the add operation attempted to add an entry that already exists, or that the modify operation attempted to rename an entry to the name of an entry that already exists.
0x4569LDAP_NO_OBJECT_CLASS_MODSIndicates that the modify operation attempted to modify the structure rules of an object class.
0x4670LDAP_RESULTS_TOO_LARGEReserved for CLDAP.
0x4771LDAP_AFFECTS_MULTIPLE_DSASNamingException
72-79Not used.
0x5080LDAP_OTHERNamingException

More Information#

There might be more information for this subject on one of the following:

Add new attachment

Only authorized users are allowed to upload new attachments.
« This page (revision-16) was last changed on 13-Apr-2015 16:52 by jim