2.2.9 Return Codes
The return code generated by the responder MUST be an NTSTATUS code (specified in [MS-ERREF] section 2.3). There are four distinguished values that can be returned by this protocol.
Return code |
Symbolic name |
Meaning |
---|---|---|
0x00000000 |
STATUS_SUCCESS |
Success. |
0xC0000058 |
STATUS_UNKNOWN_REVISION |
The responder did not understand some part of the message sent; for example, the message type. |
0xC0000059 |
STATUS_REVISION_MISMATCH |
The responder supports the message type sent, but does not understand the format of the message; for example, expected flags are not set. |
0xC0000064 |
STATUS_NO_SUCH_USER |
The responder was not able to locate the directory object referenced in the message. |
This protocol can return other error codes—for example, if a database operation fails. Other codes MUST be taken from the list specified in [MS-ERREF] section 2.3, or created (as specified in [MS-ERREF]). These other error codes MUST all be treated as equivalent by the client.