6.3.1.5 NETLOGON_PRIMARY_RESPONSE

The NETLOGON_PRIMARY_RESPONSE structure is the PDC server's response to a mailslot ping (section 6.3.5).


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

PrimaryDCName (variable)

...

UnicodePrimaryDCName (variable)

...

UnicodeDomainName (variable)

...

NtVersion

LmNtToken

Lm20Token

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

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

UnicodePrimaryDCName (variable): Null-terminated Unicode value of the NetBIOS name of the server. This field SHOULD contain at least one character: the null terminator. Each Unicode value is encoded as 2 bytes. This field is always aligned to an even byte boundary, with padding (bytes of value 0) to the next even byte boundary as necessary.

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

NtVersion (4 bytes): NETLOGON_NT_VERSION Options (see section 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.