共用方式為


6.3.1.1 NETLOGON_NT_VERSION Options Bits

The following are the NETLOGON_NT_VERSION options bits:


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

V
G
C

V
L

V
I
P

V
P
D
C

X

X

X

V
N
T
4

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

X

V
C
S

V
5
E
P

V
5
E
X

V
5

V
1

Note The bits are presented in big-endian byte order.

V1 (NETLOGON_NT_VERSION_1, 0x00000001): Unless overridden by V5, V5EX, or V5EP, this bit instructs the server to respond to LDAP ping (section 6.3.3) and mailslot ping (section 6.3.5) using either the NETLOGON_SAM_LOGON_RESPONSE_NT40 structure or the NETLOGON_PRIMARY_RESPONSE structure for the PDC.

V5 (NETLOGON_NT_VERSION_5, 0x00000002): Unless overridden by V5EX or V5EP, this bit instructs the server to respond to LDAP ping and mailslot ping using the NETLOGON_SAM_LOGON_RESPONSE structure.

V5EX (NETLOGON_NT_VERSION_5EX, 0x00000004): Unless overridden by V5EP, this bit instructs the server to respond to LDAP ping and mailslot ping using the NETLOGON_SAM_LOGON_RESPONSE_EX structure.

V5EP (NETLOGON_NT_VERSION_5EX_WITH_IP, 0x00000008): Instructs the server to respond to mailslot ping using the NETLOGON_SAM_LOGON_RESPONSE_EX structure and also to return the IP address of the server in the response.

VCS (NETLOGON_NT_VERSION_WITH_CLOSEST_SITE, 0x00000010): Indicates that the client is querying for the closest site information. This flag is interpreted by DCs with DC functional level greater than or equal to DS_BEHAVIOR_WIN2008.

VNT4 (NETLOGON_NT_VERSION_AVOID_NT4EMUL, 0x01000000): Forces the server to respond to an LDAP ping and to honor all the NetLOGON_NT_VERSION options that the client specifies in the LDAP ping or mailslot ping. The client specifies NETLOGON_NT_VERSION_AVOID_NT4EMUL to force the server to respond to an LDAP ping even if the server is configured to ignore LDAP ping requests, and to honor all the NETLOGON_NT_VERSION options specified by the client in a mailslot ping, even if the server is configured to assume NETLOGON_NT_VERSION_1 in mailslot ping requests.

VPDC (NETLOGON_NT_VERSION_PDC, 0x10000000): Indicates that the client is querying for a PDC.

VIP (NETLOGON_NT_VERSION_IP, 0x20000000): Obsolete, ignored.

VL (NETLOGON_NT_VERSION_LOCAL, 0x40000000): Indicates that the client is the local machine.

VGC (NETLOGON_NT_VERSION_GC, 0x80000000): Indicates that the client is querying for a GC.

X: Reserved for future expansion. The client MUST set it to 0, and the server MUST ignore it.