Skip to main content

LDAP Result Codes

57rows
57rows with meaning
10lookups that use it
Livestatus

The result code an LDAP directory server returns on every operation, from the protocol standard rather than from Windows. A device that cannot bind to Active Directory reports one of these, and it says whether the credential was refused, the entry was absent, or the server declined.

This table decodes 57 codes.

SparkLogs decodes these codes on every event that carries one, regardless of feed. The Windows Application event log, Windows application platform event channels, Windows identity and security event channels, Windows management event channels, Windows network event channels, Windows platform event channels, Windows Security event log, Windows Setup event log, Windows storage event channels and Windows System event log feeds read these codes while curating an event.

How to read this

Codes are listed in numeric order. Name is the constant Windows publishes for the code. Token is the short label SparkLogs puts on the event, which is what a question groups by. The last column is our one-line summary of what the code means in plain words.

Codes 0 to 97

CodeNameTokenWhat it means
0successsuccessThe operation completed.
1operationsErroroperations_errorThe server could not carry out the operation in the sequence it was asked for.
2protocolErrorprotocol_errorThe request was malformed or violated the protocol.
3timeLimitExceededtime_limit_exceededThe operation ran past the time limit in force.
4sizeLimitExceededsize_limit_exceededThe result set was larger than the size limit in force.
5compareFalsecompare_falseA compare completed and the asserted value did not match.
6compareTruecompare_trueA compare completed and the asserted value matched.
7authMethodNotSupportedauth_method_not_supportedThe server does not support the authentication method that was offered.
8strongerAuthRequiredstronger_auth_requiredThe server requires a stronger form of authentication for this operation.
9LDAP_PARTIAL_RESULTSpartial_resultsThe result set returned is incomplete and the response carries a referral to another server.
10referralreferralThe server holds no answer and named other servers to ask.
11adminLimitExceededadmin_limit_exceededAn administrative limit on the server was reached.
12unavailableCriticalExtensionunavailable_critical_extensionA control the request marked critical is not available on the server.
13confidentialityRequiredconfidentiality_requiredThe server requires a confidential session for this operation.
14saslBindInProgresssasl_bind_in_progressThe server needs another round of the SASL exchange to finish the bind.
16noSuchAttributeno_such_attributeThe entry does not carry the attribute named.
17undefinedAttributeTypeundefined_attribute_typeThe attribute type named is not defined in the schema.
18inappropriateMatchinginappropriate_matchingThe matching rule does not apply to the attribute it was used on.
19constraintViolationconstraint_violationThe value breaks a constraint the schema or the server places on it.
20attributeOrValueExistsattribute_or_value_existsThe attribute or the value being added is already present.
21invalidAttributeSyntaxinvalid_attribute_syntaxThe value does not match the syntax the attribute is defined with.
32noSuchObjectno_such_objectThe entry named does not exist.
33aliasProblemalias_problemAn alias entry does not name an existing object.
34invalidDNSyntaxinvalid_dn_syntaxThe distinguished name is malformed.
36aliasDereferencingProblemalias_dereferencing_problemThe alias could not be followed.
48inappropriateAuthenticationinappropriate_authenticationThe authentication offered is not appropriate for the identity claimed.
49invalidCredentialsinvalid_credentialsThe credentials presented were refused.
50insufficientAccessRightsinsufficient_access_rightsThe identity is not allowed to perform the operation.
51busybusyThe server is too busy to serve the request right now.
52unavailableunavailableThe server is shutting down or otherwise not serving requests.
53unwillingToPerformunwilling_to_performThe server declines to perform the operation.
54loopDetectloop_detectThe server detected a loop while processing the request.
64namingViolationnaming_violationThe name of the entry breaks the naming rules in force.
65objectClassViolationobject_class_violationThe entry breaks the rules of its object classes.
66notAllowedOnNonLeafnot_allowed_on_non_leafThe operation is only allowed on a leaf entry.
67notAllowedOnRDNnot_allowed_on_rdnThe operation would remove part of the relative distinguished name.
68entryAlreadyExistsentry_already_existsAn entry with that name already exists.
69objectClassModsProhibitedobject_class_mods_prohibitedChanging the object class of the entry is not allowed.
71affectsMultipleDSAsaffects_multiple_dsasThe operation would span more than one directory server.
80otherotherThe server reported a failure it has no more specific code for.
81LDAP_SERVER_DOWNserver_downThe client could not contact the directory server.
82LDAP_LOCAL_ERRORlocal_errorThe client library failed on this machine rather than at the server.
83LDAP_ENCODING_ERRORencoding_errorThe client could not encode the request it was asked to send.
84LDAP_DECODING_ERRORdecoding_errorThe client could not decode the response it received.
85LDAP_TIMEOUTclient_timeoutThe client gave up waiting before the server answered.
86LDAP_AUTH_UNKNOWNauth_unknownThe authentication attempt failed for a reason the client could not name.
87LDAP_FILTER_ERRORfilter_errorThe search filter is malformed.
88LDAP_USER_CANCELLEDuser_cancelledThe caller cancelled the operation.
89LDAP_PARAM_ERRORparam_errorA parameter passed to the client call was not valid.
90LDAP_NO_MEMORYno_memoryThe client ran out of memory.
91LDAP_CONNECT_ERRORconnect_errorThe client could not establish the connection.
92LDAP_NOT_SUPPORTEDnot_supportedThe client does not support the feature the call asked for.
93LDAP_CONTROL_NOT_FOUNDcontrol_not_foundThe response did not carry the control the call went looking for.
94LDAP_NO_RESULTS_RETURNEDno_results_returnedThe call returned no results.
95LDAP_MORE_RESULTS_TO_RETURNmore_results_to_returnMore results remain to be retrieved.
96LDAP_CLIENT_LOOPclient_loopThe client detected a loop while following referrals.
97LDAP_REFERRAL_LIMIT_EXCEEDEDreferral_limit_exceededThe chain of referrals ran past the limit the client allows.

Ask about these codes

Connect your AI and ask in plain language, or open the same events in Explore.