Error codes used in the LDAP XPCOM SDK. More...
import "nsILDAPErrors.idl";
Public Attributes | |
const long | SUCCESS = 0x00 |
const long | OPERATIONS_ERROR = 0x01 |
const long | PROTOCOL_ERROR = 0x02 |
const long | TIMELIMIT_EXCEEDED = 0x03 |
const long | SIZELIMIT_EXCEEDED = 0x04 |
const long | COMPARE_FALSE = 0x05 |
const long | COMPARE_TRUE = 0x06 |
const long | STRONG_AUTH_NOT_SUPPORTED = 0x07 |
const long | STRONG_AUTH_REQUIRED = 0x08 |
const long | PARTIAL_RESULTS = 0x09 |
UMich LDAPv2 extension. | |
const long | REFERRAL = 0x0a |
new in LDAPv3 | |
const long | ADMINLIMIT_EXCEEDED = 0x0b |
new in LDAPv3 | |
const long | UNAVAILABLE_CRITICAL_EXTENSION = 0x0c |
new in LDAPv3 | |
const long | CONFIDENTIALITY_REQUIRED = 0x0d |
new in LDAPv3 | |
const long | SASL_BIND_IN_PROGRESS = 0x0e |
new in LDAPv3 | |
const long | NO_SUCH_ATTRIBUTE = 0x10 |
const long | UNDEFINED_TYPE = 0x11 |
const long | INAPPROPRIATE_MATCHING = 0x12 |
const long | CONSTRAINT_VIOLATION = 0x13 |
const long | TYPE_OR_VALUE_EXISTS = 0x14 |
const long | INVALID_SYNTAX = 0x15 |
const long | NO_SUCH_OBJECT = 0x20 |
const long | ALIAS_PROBLEM = 0x21 |
const long | INVALID_DN_SYNTAX = 0x22 |
const long | IS_LEAF = 0x23 |
not used in LDAPv3 | |
const long | ALIAS_DEREF_PROBLEM = 0x24 |
const long | INAPPROPRIATE_AUTH = 0x30 |
const long | INVALID_CREDENTIALS = 0x31 |
const long | INSUFFICIENT_ACCESS = 0x32 |
const long | BUSY = 0x33 |
const long | UNAVAILABLE = 0x34 |
const long | UNWILLING_TO_PERFORM = 0x35 |
const long | LOOP_DETECT = 0x36 |
const long | SORT_CONTROL_MISSING = 0x3C |
server side sort extension | |
const long | INDEX_RANGE_ERROR = 0x3D |
VLV extension. | |
const long | NAMING_VIOLATION = 0x40 |
const long | OBJECT_CLASS_VIOLATION = 0x41 |
const long | NOT_ALLOWED_ON_NONLEAF = 0x42 |
const long | NOT_ALLOWED_ON_RDN = 0x43 |
const long | ALREADY_EXISTS = 0x44 |
const long | NO_OBJECT_CLASS_MODS = 0x45 |
const long | RESULTS_TOO_LARGE = 0x46 |
reserved CLDAP | |
const long | AFFECTS_MULTIPLE_DSAS = 0x47 |
new in LDAPv3 | |
const long | OTHER = 0x50 |
const long | SERVER_DOWN = 0x51 |
const long | LOCAL_ERROR = 0x52 |
const long | ENCODING_ERROR = 0x53 |
const long | DECODING_ERROR = 0x54 |
const long | TIMEOUT = 0x55 |
const long | AUTH_UNKNOWN = 0x56 |
const long | FILTER_ERROR = 0x57 |
const long | USER_CANCELLED = 0x58 |
const long | PARAM_ERROR = 0x59 |
const long | NO_MEMORY = 0x5a |
const long | CONNECT_ERROR = 0x5b |
const long | NOT_SUPPORTED = 0x5c |
new in LDAPv3 | |
const long | CONTROL_NOT_FOUND = 0x5d |
new in LDAPv3 | |
const long | NO_RESULTS_RETURNED = 0x5e |
new in LDAPv3 | |
const long | MORE_RESULTS_TO_RETURN = 0x5f |
new in LDAPv3 | |
const long | CLIENT_LOOP = 0x60 |
new in LDAPv3 | |
const long | REFERRAL_LIMIT_EXCEEDED = 0x61 |
new in LDAPv3 |
Error codes used in the LDAP XPCOM SDK.
Taken from the Mozilla C SDK's ldap.h include file, these should be the same as those specified in the draft-ietf-ldapext-ldap-c-api-04.txt Internet Draft.
The only good documentation I'm aware of for these error codes is at <http://docs.iplanet.com/docs/manuals/directory.html#SDKC>. Unfortunately, this does not currently seem to be available under any open source license, so I can't include that documentation here as doxygen comments.
const long nsILDAPErrors::ADMINLIMIT_EXCEEDED = 0x0b |
new in LDAPv3
const long nsILDAPErrors::AFFECTS_MULTIPLE_DSAS = 0x47 |
new in LDAPv3
const long nsILDAPErrors::ALIAS_DEREF_PROBLEM = 0x24 |
const long nsILDAPErrors::ALIAS_PROBLEM = 0x21 |
const long nsILDAPErrors::ALREADY_EXISTS = 0x44 |
const long nsILDAPErrors::AUTH_UNKNOWN = 0x56 |
const long nsILDAPErrors::BUSY = 0x33 |
const long nsILDAPErrors::CLIENT_LOOP = 0x60 |
new in LDAPv3
const long nsILDAPErrors::COMPARE_FALSE = 0x05 |
const long nsILDAPErrors::COMPARE_TRUE = 0x06 |
const long nsILDAPErrors::CONFIDENTIALITY_REQUIRED = 0x0d |
new in LDAPv3
const long nsILDAPErrors::CONNECT_ERROR = 0x5b |
const long nsILDAPErrors::CONSTRAINT_VIOLATION = 0x13 |
const long nsILDAPErrors::CONTROL_NOT_FOUND = 0x5d |
new in LDAPv3
const long nsILDAPErrors::DECODING_ERROR = 0x54 |
const long nsILDAPErrors::ENCODING_ERROR = 0x53 |
const long nsILDAPErrors::FILTER_ERROR = 0x57 |
const long nsILDAPErrors::INAPPROPRIATE_AUTH = 0x30 |
const long nsILDAPErrors::INAPPROPRIATE_MATCHING = 0x12 |
const long nsILDAPErrors::INDEX_RANGE_ERROR = 0x3D |
VLV extension.
const long nsILDAPErrors::INSUFFICIENT_ACCESS = 0x32 |
const long nsILDAPErrors::INVALID_CREDENTIALS = 0x31 |
const long nsILDAPErrors::INVALID_DN_SYNTAX = 0x22 |
const long nsILDAPErrors::INVALID_SYNTAX = 0x15 |
const long nsILDAPErrors::IS_LEAF = 0x23 |
not used in LDAPv3
const long nsILDAPErrors::LOCAL_ERROR = 0x52 |
const long nsILDAPErrors::LOOP_DETECT = 0x36 |
const long nsILDAPErrors::MORE_RESULTS_TO_RETURN = 0x5f |
new in LDAPv3
const long nsILDAPErrors::NAMING_VIOLATION = 0x40 |
const long nsILDAPErrors::NO_MEMORY = 0x5a |
const long nsILDAPErrors::NO_OBJECT_CLASS_MODS = 0x45 |
const long nsILDAPErrors::NO_RESULTS_RETURNED = 0x5e |
new in LDAPv3
const long nsILDAPErrors::NO_SUCH_ATTRIBUTE = 0x10 |
const long nsILDAPErrors::NO_SUCH_OBJECT = 0x20 |
const long nsILDAPErrors::NOT_ALLOWED_ON_NONLEAF = 0x42 |
const long nsILDAPErrors::NOT_ALLOWED_ON_RDN = 0x43 |
const long nsILDAPErrors::NOT_SUPPORTED = 0x5c |
new in LDAPv3
const long nsILDAPErrors::OBJECT_CLASS_VIOLATION = 0x41 |
const long nsILDAPErrors::OPERATIONS_ERROR = 0x01 |
const long nsILDAPErrors::OTHER = 0x50 |
const long nsILDAPErrors::PARAM_ERROR = 0x59 |
const long nsILDAPErrors::PARTIAL_RESULTS = 0x09 |
UMich LDAPv2 extension.
const long nsILDAPErrors::PROTOCOL_ERROR = 0x02 |
const long nsILDAPErrors::REFERRAL = 0x0a |
new in LDAPv3
const long nsILDAPErrors::REFERRAL_LIMIT_EXCEEDED = 0x61 |
new in LDAPv3
const long nsILDAPErrors::RESULTS_TOO_LARGE = 0x46 |
reserved CLDAP
const long nsILDAPErrors::SASL_BIND_IN_PROGRESS = 0x0e |
new in LDAPv3
const long nsILDAPErrors::SERVER_DOWN = 0x51 |
const long nsILDAPErrors::SIZELIMIT_EXCEEDED = 0x04 |
const long nsILDAPErrors::SORT_CONTROL_MISSING = 0x3C |
server side sort extension
const long nsILDAPErrors::STRONG_AUTH_NOT_SUPPORTED = 0x07 |
const long nsILDAPErrors::STRONG_AUTH_REQUIRED = 0x08 |
const long nsILDAPErrors::SUCCESS = 0x00 |
const long nsILDAPErrors::TIMELIMIT_EXCEEDED = 0x03 |
const long nsILDAPErrors::TIMEOUT = 0x55 |
const long nsILDAPErrors::TYPE_OR_VALUE_EXISTS = 0x14 |
const long nsILDAPErrors::UNAVAILABLE = 0x34 |
const long nsILDAPErrors::UNAVAILABLE_CRITICAL_EXTENSION = 0x0c |
new in LDAPv3
const long nsILDAPErrors::UNDEFINED_TYPE = 0x11 |
const long nsILDAPErrors::UNWILLING_TO_PERFORM = 0x35 |
const long nsILDAPErrors::USER_CANCELLED = 0x58 |