共用方式為


6.3.1.4 NETLOGON_LOGON_QUERY

The format of a mailslot ping as documented in section 6.3.5. This can be used if a PDC is required.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

Opcode

ComputerName (variable)

...

MailslotName (variable)

...

UnicodeComputerName (variable)

...

NtVersion

LmNtToken

Lm20Token

Opcode (2 bytes): Operation code (see section 6.3.1.3). Set to LOGON_PRIMARY_QUERY.

ComputerName (variable): Null-terminated ASCII value of the NetBIOS name of the client. This field SHOULD contain at least one character: the null terminator.

MailslotName (variable): Null-terminated ASCII value of the name of the mailslot on which the client listens. This field is always aligned to an even byte boundary, with padding (bytes of value 0) to the next even byte boundary as necessary.

UnicodeComputerName (variable): Null-terminated Unicode value of the NetBIOS name of the client. This field SHOULD contain at least one character: the null terminator. Each Unicode value is encoded as 2 bytes.

NtVersion (4 bytes): NETLOGON_NT_VERSION options (see 6.3.1.1).

LmNtToken (2 bytes): This MUST be set to 0xFFFF.

Lm20Token (2 bytes): This MUST be set to 0xFFFF.

Note All multibyte quantities are represented in little-endian byte order.