nsILDAPErrors

IID:f9ac10fa-1dd1-11b2-9798-8d5cbda95d74
Inherits From:nsISupports

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.


Constants

PRInt32 SUCCESS = 0
PRInt32 OPERATIONS_ERROR = 1
PRInt32 PROTOCOL_ERROR = 2
PRInt32 TIMELIMIT_EXCEEDED = 3
PRInt32 SIZELIMIT_EXCEEDED = 4
PRInt32 COMPARE_FALSE = 5
PRInt32 COMPARE_TRUE = 6
PRInt32 STRONG_AUTH_NOT_SUPPORTED = 7
PRInt32 STRONG_AUTH_REQUIRED = 8
UMich LDAPv2 extension
PRInt32 PARTIAL_RESULTS = 9
New in LDAPv3
PRInt32 REFERRAL = 10
New in LDAPv3
PRInt32 ADMINLIMIT_EXCEEDED = 11
New in LDAPv3
PRInt32 UNAVAILABLE_CRITICAL_EXTENSION = 12
New in LDAPv3
PRInt32 CONFIDENTIALITY_REQUIRED = 13
New in LDAPv3
PRInt32 SASL_BIND_IN_PROGRESS = 14
PRInt32 NO_SUCH_ATTRIBUTE = 16
PRInt32 UNDEFINED_TYPE = 17
PRInt32 INAPPROPRIATE_MATCHING = 18
PRInt32 CONSTRAINT_VIOLATION = 19
PRInt32 TYPE_OR_VALUE_EXISTS = 20
PRInt32 INVALID_SYNTAX = 21
PRInt32 NO_SUCH_OBJECT = 32
PRInt32 ALIAS_PROBLEM = 33
PRInt32 INVALID_DN_SYNTAX = 34
Not used in LDAPv3
PRInt32 IS_LEAF = 35
PRInt32 ALIAS_DEREF_PROBLEM = 36
PRInt32 INAPPROPRIATE_AUTH = 48
PRInt32 INVALID_CREDENTIALS = 49
PRInt32 INSUFFICIENT_ACCESS = 50
PRInt32 BUSY = 51
PRInt32 UNAVAILABLE = 52
PRInt32 UNWILLING_TO_PERFORM = 53
PRInt32 LOOP_DETECT = 54
Server side sort extension
PRInt32 SORT_CONTROL_MISSING = 60
VLV extension
PRInt32 INDEX_RANGE_ERROR = 61
PRInt32 NAMING_VIOLATION = 64
PRInt32 OBJECT_CLASS_VIOLATION = 65
PRInt32 NOT_ALLOWED_ON_NONLEAF = 66
PRInt32 NOT_ALLOWED_ON_RDN = 67
PRInt32 ALREADY_EXISTS = 68
PRInt32 NO_OBJECT_CLASS_MODS = 69
Reserved CLDAP
PRInt32 RESULTS_TOO_LARGE = 70
New in LDAPv3
PRInt32 AFFECTS_MULTIPLE_DSAS = 71
PRInt32 OTHER = 80
PRInt32 SERVER_DOWN = 81
PRInt32 LOCAL_ERROR = 82
PRInt32 ENCODING_ERROR = 83
PRInt32 DECODING_ERROR = 84
PRInt32 TIMEOUT = 85
PRInt32 AUTH_UNKNOWN = 86
PRInt32 FILTER_ERROR = 87
PRInt32 USER_CANCELLED = 88
PRInt32 PARAM_ERROR = 89
PRInt32 NO_MEMORY = 90
PRInt32 CONNECT_ERROR = 91
New in LDAPv3
PRInt32 NOT_SUPPORTED = 92
New in LDAPv3
PRInt32 CONTROL_NOT_FOUND = 93
New in LDAPv3
PRInt32 NO_RESULTS_RETURNED = 94
New in LDAPv3
PRInt32 MORE_RESULTS_TO_RETURN = 95
New in LDAPv3
PRInt32 CLIENT_LOOP = 96
New in LDAPv3
PRInt32 REFERRAL_LIMIT_EXCEEDED = 97

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com