Export (0) Print
Expand All

2.2.1.7.3 NETLOGON_INFO_2

The NETLOGON_INFO_2 structure defines information returned as part of an administrative query of the status of the Netlogon server, as detailed in the description of the NetrLogonControl2Ex method in section 3.5.4.9.1. This structure is used to convey information about the status and properties of the secure channel to a DC in the primary or directly trusteddomain specified by the caller of the NetrLogonControl2Ex method.

typedef struct _NETLOGON_INFO_2 {
  DWORD netlog2_flags;
  NET_API_STATUS netlog2_pdc_connection_status;
  [string] wchar_t* netlog2_trusted_dc_name;
  NET_API_STATUS netlog2_tc_connection_status;
} NETLOGON_INFO_2, 
 *PNETLOGON_INFO_2;

netlog2_flags: A set of bit flags describing the following control query responses from the DC. A flag is TRUE (or set) if its value is equal to 1. The value is constructed from zero or more bit flags from the following table.


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

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

0

C

0

B

A

0

0

0

0

Where the flags are as defined as shown in the following table.<73>

Value Description

A

The DC used on the secure channel has an IP address (either IPv4 or IPv6).<74>

B

The DC used on the secure channel runs the Windows Time Service.<75>

C

Signifies that the trust verification status was returned in the netlog2_pdc_connection_status field.<76>

All other bits MUST be set to zero and MUST be ignored on receipt.

netlog2_pdc_connection_status: Unless the C bit is set in netlog2_flags field, this field indicates the connection status (section 3.4.5.3.1) of the secure channel to a DC in the primary domain of the queried server. If the C bit is set in netlog2_flags field, this field indicates the connection status of verifying the secure channel to the DC in the specified domain (specified by the caller of the NetrLogonControl2Ex method; see section 3.5.4.9.1 for more information).

netlog2_trusted_dc_name: A pointer to a null-terminated Unicode string that contains the DNS or NetBIOS name of the DC used on the secure channel for the specified domain. The name is the fully qualified domain name (FQDN) if the DC was discovered using the discovery mechanism based on the DNS query and LDAP ping ([MS-ADTS] section 6.3.3). The name is the NetBIOS name if the DC was discovered using the mailslot-based mechanism ([MS-ADTS] section 6.3.5).

netlog2_tc_connection_status: An integer value that indicates the connection status (section 3.4.5.3.1) of the secure channel to the DC in the specified domain.

 
Show:
© 2015 Microsoft