When most LDAP APIs fail to complete successfully, ld_errno usually indicates one of the following errors. Under some conditions, ld_errno could indicate an error other than those listed here.
LDAP_SUCCESS 0x00 - The request was successful.
LDAP_OPERATIONS_ERROR 0x01 - An operations error occurred.
LDAP_PROTOCOL_ERROR 0x02 - A protocol violation was detected.
LDAP_TIMELIMIT_EXCEEDED 0x03 - An LDAP time limit was exceeded.
LDAP_SIZELIMIT_EXCEEDED 0x04 - An LDAP size limit was exceeded.
LDAP_COMPARE_FALSE 0x05 - A compare operation returned false.
LDAP_COMPARE_TRUE 0x06 - A compare operation returned true.
LDAP_STRONG_AUTH_NOT_SUPPORTED 0x07 - The LDAP server does not support strong authentication.
LDAP_STRONG_AUTH_REQUIRED 0x08 - Strong authentication is required for the operation.
LDAP_PARTIAL_RESULTS 0x09 - Partial results only returned.
LDAP_REFERRAL 0X0A - Referral returned.
LDAP_ADMIN_LIMIT_EXCEEDED 0X0B - Administration limit exceeded.
LDAP_UNAVAILABLE_CRITICAL_EXTENSION 0X0C - Critical extension not supported.
LDAP_NO_SUCH_ATTRIBUTE 0x10 - The attribute type specified does not exist in the entry.
LDAP_UNDEFINED_TYPE 0x11 - The attribute type specified is not valid.
LDAP_INAPPROPRIATE_MATCHING 0x12 - Filter type not supported for the specified attribute.
LDAP_CONSTRAINT_VIOLATION 0x13 - An attribute value specified violates some constraint (for
example, a postal address has too many lines, or a line
that is too long).
LDAP_TYPE_OR_VALUE_EXISTS 0x14 - An attribute type or attribute value specified already exists in the entry.
LDAP_INVALID_SYNTAX 0x15 - An attribute value was specified that is not valid.
LDAP_NO_SUCH_OBJECT 0x20 - The specified object does not exist in the directory.
LDAP_ALIAS_PROBLEM 0x21 - An alias in the directory points to a nonexistent entry.
LDAP_INVALID_DN_SYNTAX 0x22 - A distinguished name was specified that is syntactically not valid.
LDAP_IS_LEAF 0x23 - The object specified is a leaf.
LDAP_ALIAS_DEREF_PROBLEM 0x24 - A problem was encountered when dereferencing an alias.
LDAP_INAPPROPRIATE_AUTH 0x30 - Inappropriate authentication was specified (for example,
LDAP_AUTH_SIMPLE was specified and the entry does not have
a user password attribute).
LDAP_INVALID_CREDENTIALS 0x31 - Credentials that are not valid were presented (for example, the wrong password).
LDAP_INSUFFICIENT_ACCESS 0x32 - The user has insufficient access to perform the operation.
LDAP_BUSY 0x33 - The directory system agent is busy.
LDAP_UNAVAILABLE 0x34 - The directory system agent is unavailable.
LDAP_UNWILLING_TO_PERFORM 0x35 - The directory system agent is unwilling to perform the operation.
LDAP_LOOP_DETECT 0x36 - A loop was detected.
LDAP_NAMING_VIOLATION 0x40 - A naming violation occurred.
LDAP_OBJECT_CLASS_VIOLATION 0x41 - An object class violation occurred (for example, a must attribute was missing from the entry).
LDAP_NOT_ALLOWED_ON_NONLEAF 0x42 - The operation is not allowed on a nonleaf object.
LDAP_NOT_ALLOWED_ON_RDN 0x43 - The operation is not allowed on a relative distinguished name.
LDAP_ALREADY_EXISTS 0x44 - The entry already exists.
LDAP_NO_OBJECT_CLASS_MODS 0x45 - Object class modifications are not allowed.
LDAP_RESULTS_TOO_LARGE 0x46 - Results too large.
LDAP_AFFECTS_MULTIPLE_DSAS 0X47 - Affects multiple DSAS.
LDAP_OTHER 0x50 - An unknown error occurred.
LDAP_SERVER_DOWN 0x51 - The LDAP API cannot contact the LDAP server.
LDAP_LOCAL_ERROR 0x52 - Some local error occurred. This usually indicates that
either the LDAP support (OS/400 option 32) is not
installed on the system, or a malloc() operation has failed.
LDAP_ENCODING_ERROR 0x53 - An error was encountered while the API was encoding
parameters to send to the LDAP server.
LDAP_DECODING_ERROR 0x54 - An error was encountered while the API was decoding a
result from the LDAP server.
LDAP_TIMEOUT 0x55 - A time limit was exceeded while API was waiting for a result.
LDAP_AUTH_UNKNOWN 0x56 - The authentication method specified to ldap_bind() is not known.
LDAP_FILTER_ERROR 0x57 - A filter that is not valid was supplied to ldap_search()
(for example, unbalanced parentheses).
LDAP_USER_CANCELLED 0x58
LDAP_PARAM_ERROR 0x59 - An LDAP API was called with a bad parameter (for example, a NULL ld pointer).
LDAP_NO_MEMORY 0x5A - A memory allocation (for example, a malloc() call) failed in an LDAP API.
LDAP_URL_ERR_NOTLDAP 0x60 - URL doesn't begin with ldap://
LDAP_URL_ERR_NODN 0x61 - URL has no DN (required).
LDAP_URL_ERR_BADSCOPE 0x62 - URL scope string is invalid.
LDAP_URL_ERR_MEM 0x63 - can't allocate memory space.
LDAP_SSL_ALREADY_INITIALIZED 0x70 - ldap_ssl_client_init successfully called previously in this process.
LDAP_SSL_INITIALIZE_FAILED 0x71 - SSL initialization call failed.
LDAP_SSL_INITIALIZE_NOT_CALLED 0x72 - Call ldap_ssl_client_init before attempting to use an ssl connection.
LDAP_SSL_PARAM_ERROR 0x73 - An invalid ssl parameter was previously specified.
LDAP_SSL_HANDSHAKE_FAILED 0x74 - Failed to connect to ssl server.
|
Top
| LDAP APIs List APIs by category |
| [Information Center Home Page | Feedback ] | [Legal | AS/400 Glossary] |