2.2.10.1.1.4 Logon Info Extended (TS_LOGON_INFO_EXTENDED)
The TS_LOGON_INFO_EXTENDED structure contains extended logon information and is supported by all RDP versions, except for RDP 4.0, 5.0, and 5.1.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Length |
FieldsPresent |
||||||||||||||||||||||||||||||
... |
LogonFields (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
Pad (570 bytes) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
Length (2 bytes): A 16-bit, unsigned integer. The total size in bytes of this structure, including the variable LogonFields field.
FieldsPresent (4 bytes): A 32-bit, unsigned integer. The flags indicating which fields are present in the LogonFields field.
-
Flag
Meaning
LOGON_EX_AUTORECONNECTCOOKIE
0x00000001
An auto-reconnect cookie field is present. The LogonFields field of the associated Logon Info (section 2.2.10.1.1.4.1) structure MUST contain a Server Auto-Reconnect Packet (section 2.2.4.2) structure.
LOGON_EX_LOGONERRORS
0x00000002
A logon error field is present. The LogonFields field of the associated Logon Info MUST contain a Logon Errors Info (section 2.2.10.1.1.4.1.1) structure.
LogonFields (variable): Extended logon information fields encapsulated in Logon Info Field (section 2.2.10.1.1.4.1) structures. The presence of an information field is indicated by the flags within the FieldsPresent field of the Logon Info Extended structure. The ordering of the fields is implicit and is as follows:
Auto-reconnect cookie data
Logon notification data
-
If a field is not present, the next field which is present is read.
Pad (570 bytes): 570 bytes. Padding. Values in this field MUST be ignored.