次の方法で共有


2.2.1.3.11 NETLOGON_DOMAIN_INFO

The NETLOGON_DOMAIN_INFO structure SHOULD<28> define information returned as output from the NetrLogonGetDomainInfo method, as specified in section 3.5.4.4.10. It contains information about a domain, including naming information and a list of trusted domains.

 typedef struct _NETLOGON_DOMAIN_INFO {
   NETLOGON_ONE_DOMAIN_INFO PrimaryDomain;
   ULONG TrustedDomainCount;
   [size_is(TrustedDomainCount)] PNETLOGON_ONE_DOMAIN_INFO TrustedDomains;
   NETLOGON_LSA_POLICY_INFO LsaPolicy;
   UNICODE_STRING DnsHostNameInDs;
   UNICODE_STRING DummyString2;
   UNICODE_STRING DummyString3;
   UNICODE_STRING DummyString4;
   ULONG WorkstationFlags;
   ULONG SupportedEncTypes;
   ULONG DummyLong3;
   ULONG DummyLong4;
 } NETLOGON_DOMAIN_INFO,
  *PNETLOGON_DOMAIN_INFO;

PrimaryDomain: A NETLOGON_ONE_DOMAIN_INFO structure, as specified in section 2.2.1.3.10, that contains information about the domain of which the server is a member.

TrustedDomainCount: The number of trusted domains listed in TrustedDomains.

TrustedDomains: A pointer to an array of NETLOGON_ONE_DOMAIN_INFO structures, as specified in section 2.2.1.3.10, which contain information about domains with which the current domain has a trust relationship.

LsaPolicy: A NETLOGON_LSA_POLICY_INFO data structure that contains the LSA policy for this domain. This field is not used. For details, see section 2.2.1.3.5.

DnsHostNameInDs: A null-terminated Unicode string that contains the Active Directory DNS host name for the client.

DummyString2: A STRING structure, defined in section 2.2.1.1.2, that MUST contain 0 for the Length field, 0 for the MaximumLength field, and NULL for the Buffer field. It is ignored upon receipt. The Netlogon usage of dummy fields is defined in section 1.3.8.1.2.

DummyString3: See definition for DummyString2.

DummyString4: See definition for DummyString2.

WorkstationFlags: A set of bit flags that specify workstation behavior. 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

0

0

0

0

0

0

B

A

Where the bits are defined as:

Value

Description

A

Client receives inbound trusts.

B

Client handles the update of the service principal name (SPN). See [SPNNAMES] for details.

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

SupportedEncTypes: A set of bit flags that SHOULD<29> specify the encryption types supported, as specified in [MS-LSAD] section 2.2.7.18. See [MS-LSAD] for a specification of these bit values and their allowed combinations.

DummyLong3: MUST be set to zero and MUST be ignored on receipt. The Netlogon usage of dummy fields is defined in section 1.3.8.1.2.

DummyLong4: See definition of DummyLong3.