2.2.17.4 RDSTLS Authentication Response PDU
The RDSTLS Authentication Response PDU is sent by the server to the client and is used to indicate the result of user authentication.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Version |
PduType |
||||||||||||||||||||||||||||||
DataType |
ResultCode |
||||||||||||||||||||||||||||||
... |
Version (2 bytes): A 16-bit unsigned integer that specifies the RDSTLS version. This field MUST be set to RDSTLS_VERSION_1 (0x0001).
PduType (2 bytes): A 16-bit unsigned integer that specifies the RDSTLS PDU type. This field MUST be set to RDSTLS_TYPE_AUTHRSP (0x0004).
DataType (2 bytes): A 16-bit unsigned integer that specifies the type of data contained in the PDU. This field MUST be set to RDSTLS_DATA_RESULT_CODE (0x0001).
ResultCode (4 bytes): A 32-bit unsigned integer that specifies the user authentication result.
-
Value
Meaning
RDSTLS_RESULT_SUCCESS
0x00000000
User authentication succeeded.
RDSTLS_RESULT_ACCESS_DENIED
0x00000005
The user does not have permission to access the server.
RDSTLS_RESULT_LOGON_FAILURE
0x0000052e
The username is unknown or the supplied password is incorrect.
RDSTLS_RESULT_INVALID_LOGON_HOURS
0x00000530
The user account has time restrictions and cannot be accessed at this time.
RDSTLS_RESULT_PASSWORD_EXPIRED
0x00000532
The password associated with the user account has expired.
RDSTLS_RESULT_ACCOUNT_DISABLED
0x00000533
The user account is currently disabled.
RDSTLS_RESULT_PASSWORD_MUST_CHANGE
0x00000773
The password associated with the user account has to be changed.
RDSTLS_RESULT_ACCOUNT_LOCKED_OUT
0x00000775
The user account is currently locked out and cannot be accessed.