다음을 통해 공유


2.2.1.7.2 NETLOGON_INFO_1

The NETLOGON_INFO_1 structure defines information returned as part of an administrative query, 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 state and properties of the secure channel to a DC in the primary domain of the queried server. Additionally, this structure MAY<60> contain information about the state of the database synchronization.

 typedef struct _NETLOGON_INFO_1 {
   DWORD netlog1_flags;
   NET_API_STATUS netlog1_pdc_connection_status;
 } NETLOGON_INFO_1,
  *PNETLOGON_INFO_1;

netlog1_flags: A set of bit flags that are defined in the following table. A flag SHOULD<61> be 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

0

G

F

E

D

C

B

A

Value

Description

A

One of the databases is out-of-date, and replication is needed.

B

At least one of the databases is currently being replicated.

C

At least one of the databases requires a full synchronization update.

D

At least one database record requires an update.

E

The DC used on the secure channel is reachable over TCP/IP. If this flag is not set, then the DC does not have a known IP address.

F

The DC used on the secure channel runs W32Time.

G

The last update of one of the DNS records on the DC failed.

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

To a client, bit D will appear arbitrarily set to 0 or 1 and the client is not expected to perform any action based on this value. For more information, see the server to server database synchronization topic in section 3.6.

netlog1_pdc_connection_status: The integer value that indicates the connection status, as defined in Setting ConnectionStatus (section 3.4.5.3.1), of the secure channel to a DC in the primary domain of the queried server.