This article applies to Windows 2000. Support for Windows 2000 ends on July 13, 2010. The Windows 2000 End-of-Support Solution Center is a starting point for planning your migration strategy from Windows 2000. For more information see the Microsoft Support Lifecycle Policy.

Summary

Microsoft Windows 2000 Active Directory uses the Internet-standard Lightweight Directory Access Protocol (LDAP) to access information. In response to various LDAP requests, a domain controller returns responses containing field LDAP error codes, which indicate the status of the protocol operation. This article describes these error codes.

More Information

The error codes are described in the following table.

Code Value Description
---------------------------------------------------------------------------
LDAP_SUCCESS 0x00 Sucessful request.
LDAP_OPERATIONS_ERROR 0x01 Intialization of LDAP library
failed.
LDAP_PROTOCOL_ERROR 0x02 Protocol error occurred.
LDAP_TIMELIMIT_EXCEEDED 0x03 Time limit has exceeded.
LDAP_SIZELIMIT_EXCEEDED 0x04 Size limit has exceeded.
LDAP_COMPARE_FALSE 0x05 Compare yielded FALSE.
LDAP_COMPARE_TRUE 0x06 Compare yielded TRUE.
LDAP_AUTH_METHOD_NOT_SUPPORTED 0x07 The authentication method is not
supported.
LDAP_STRONG_AUTH_REQUIRED 0x08 Strong authentication is required.
LDAP_REFERRAL_V2 0x09 LDAP version 2 referral.
LDAP_PARTIAL_RESULTS 0x09 Partial results and referrals
received.
LDAP_REFERRAL 0x0a Referral occurred.
LDAP_ADMIN_LIMIT_EXCEEDED 0x0b Administration limit on the server
has exceeded.
LDAP_UNAVAILABLE_CRIT_EXTENSION 0x0c Critical extension is unavailable.
LDAP_CONFIDENTIALITY_REQUIRED 0x0d Confidentiality is required.
LDAP_NO_SUCH_ATTRIBUTE 0x10 Requested attribute does not
exist.
LDAP_UNDEFINED_TYPE 0x11 The type is not defined.
LDAP_INAPPROPRIATE_MATCHING 0x12 An inappropriate matching
occurred.
LDAP_CONSTRAINT_VIOLATION 0x13 A constraint violation occurred.
LDAP_ATTRIBUTE_OR_VALUE_EXISTS 0x14 The attribute exists or the value
has been assigned.
LDAP_INVALID_SYNTAX 0x15 The syntax is invalid.
LDAP_NO_SUCH_OBJECT 0x20 Object does not exist.
LDAP_ALIAS_PROBLEM 0x21 The alias is invalid.
LDAP_INVALID_DN_SYNTAX 0x22 The distinguished name has an
invalid syntax.
LDAP_IS_LEAF 0x23 The object is a leaf.
LDAP_ALIAS_DEREF_PROBLEM 0x24 Cannot de-reference the alias.
LDAP_INAPPROPRIATE_AUTH 0x30 Authentication is inappropriate.
LDAP_INVALID_CREDENTIALS 0x31 The supplied credential is
invalid.
LDAP_INSUFFICIENT_RIGHTS 0x32 The user has insufficient access
rights.
LDAP_BUSY 0x33 The server is busy.
LDAP_UNAVAILABLE 0x34 The server is unavailable.
LDAP_UNWILLING_TO_PERFORM 0x35 The server does not handle
directory requests.
LDAP_LOOP_DETECT 0x36 The chain of referrals has looped
back to a referring server.
LDAP_NAMING_VIOLATION 0x40 There was a naming violation.
LDAP_OBJECT_CLASS_VIOLATION 0x41 There was an object class
violation.
LDAP_NOT_ALLOWED_ON_NONLEAF 0x42 Operation is not allowed on a
non-leaf object.
LDAP_NOT_ALLOWED_ON_RDN 0x43 Operation is not allowed on RDN.
LDAP_ALREADY_EXISTS 0x44 The object already exists.
LDAP_NO_OBJECT_CLASS_MODS 0x45 Cannot modify object class.
LDAP_RESULTS_TOO_LARGE 0x46 Results returned are too large.
LDAP_AFFECTS_MULTIPLE_DSAS 0x47 Multiple directory service agents
are affected.
LDAP_OTHER 0x50 Unknown error occurred.
LDAP_SERVER_DOWN 0x51 Cannot contact the LDAP server.
LDAP_LOCAL_ERROR 0x52 Local error occurred.
LDAP_ENCODING_ERROR 0x53 Encoding error occurred.
LDAP_DECODING_ERROR 0x54 Decoding error occurred.
LDAP_TIMEOUT 0x55 The search was timed out.
LDAP_AUTH_UNKNOWN 0x56 Unknown authentication error
occurred.
LDAP_FILTER_ERROR 0x57 The search filter is incorrect.
LDAP_USER_CANCELLED 0x58 The user has canceled the
operation.
LDAP_PARAM_ERROR 0x59 An incorrect parameter was passed
to a routine.
LDAP_NO_MEMORY 0x5a The system is out of memory.
LDAP_CONNECT_ERROR 0x5b Cannot establish a connection to
the server.
LDAP_NOT_SUPPORTED 0x5c The feature is not supported.
LDAP_CONTROL_NOT_FOUND 0x5d The ldap function did not find the
specified control.
LDAP_NO_RESULTS_RETURNED 0x5e The feature is not supported.
LDAP_MORE_RESULTS_TO_RETURN 0x5f Additional results are to be
returned.
LDAP_CLIENT_LOOP 0x60 Client loop was detected.
LDAP_REFERRAL_LIMIT_EXCEEDED 0x61 The referral limit was exceeded.
LDAP_SASL_BIND_IN_PROGRESS 0x0E Intermediary bind result for
multi-stage binds

Propriétés

ID d'article : 218185 - Dernière mise à jour : 16 déc. 2009 - Révision : 1

Commentaires