<div class="content" name="NETLOGON_DOMAIN_INFO" uuid="440c3430-ed5f-481d-b602-74db422df3c8"><p>The <b>NETLOGON_DOMAIN_INFO</b> structure SHOULD<a id="Appendix_A_Target_28"></a><a aria-label="Product behavior note 28" href="0c858a52-732a-43ec-85dd-e44b357c1898#Appendix_A_28" data-linktype="relative-path">&lt;28&gt;</a> define information returned as
output from the <b>NetrLogonGetDomainInfo</b> method, as specified in section <span><a href="7c3ad0cc-ee05-4643-b773-4d84e1d431dc" data-linktype="relative-path">3.5.4.4.10</a></span>.
It contains information about a <span><a href="b5e7d25a-40b2-41c8-9611-98f53358af66#gt_b0276eb2-4e65-4cf1-a718-e0920a614aca" data-linktype="relative-path">domain</a></span>, including
naming information and a list of <span><a href="b5e7d25a-40b2-41c8-9611-98f53358af66#gt_5ee032d0-d944-4acb-bbb5-b1cfc7df6db6" data-linktype="relative-path">trusted</a></span> domains.</p><dl>
<dd>
<div><pre> 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;
</pre></div>
</dd></dl><p><b>PrimaryDomain:</b> A <b>NETLOGON_ONE_DOMAIN_INFO</b>
structure, as specified in section <span><a href="77cd9776-8612-4dab-9748-bfb07247fd4c" data-linktype="relative-path">2.2.1.3.10</a></span>, that
contains information about the domain of which the server is a member.</p><p><b>TrustedDomainCount:</b> The number of trusted
domains listed in TrustedDomains.</p><p><b>TrustedDomains:</b> A pointer to an array of <b>NETLOGON_ONE_DOMAIN_INFO</b>
structures, as specified in section 2.2.1.3.10, which contain information about
domains with which the current domain has a trust relationship.</p><p><b>LsaPolicy:</b> A <b>NETLOGON_LSA_POLICY_INFO</b>
data structure that contains the <span><a href="b5e7d25a-40b2-41c8-9611-98f53358af66#gt_9e5f2104-d6df-4ae7-8a5c-6bd14a0da8fa" data-linktype="relative-path">LSA</a></span> policy for this
domain. This field is not used. For details, see section <span><a href="4676ac83-2099-4e33-b680-502fd8a32dbd" data-linktype="relative-path">2.2.1.3.5</a></span>.</p><p><b>DnsHostNameInDs:</b> A null-terminated <span><a href="b5e7d25a-40b2-41c8-9611-98f53358af66#gt_b069acb4-e364-453e-ac83-42d469bb339e" data-linktype="relative-path">Unicode
string</a></span> that contains the <span><a href="b5e7d25a-40b2-41c8-9611-98f53358af66#gt_e467d927-17bf-49c9-98d1-96ddf61ddd90" data-linktype="relative-path">Active Directory</a></span> <span><a href="b5e7d25a-40b2-41c8-9611-98f53358af66#gt_604dcfcd-72f5-46e5-85c1-f3ce69956700" data-linktype="relative-path">DNS</a></span>
host name for the client.</p><p><b>DummyString2:</b> A STRING structure, defined in
section <span><a href="4a896c09-a39c-4878-94f0-9e4f8a419f32" data-linktype="relative-path">2.2.1.1.2</a></span>, that
MUST contain 0 for the <b>Length</b> field, 0 for the <b>MaximumLength</b>
field, and NULL for the <b>Buffer</b> field. It is ignored upon receipt. The
Netlogon usage of dummy fields is defined in section <span><a href="bbc95890-215e-49a9-8bb8-92e723548046" data-linktype="relative-path">1.3.8.1.2</a></span>.</p><p><b>DummyString3:</b> See definition for DummyString2.</p><p><b>DummyString4:</b> See definition for DummyString2.</p><p><b>WorkstationFlags:</b> 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.</p><dl>
<dd>
<table>
 <tbody><tr>
  <th><p><br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>1<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>2<br/>0</p></th>
  <th><p><br/>1</p></th>
  <th><p><br/>2</p></th>
  <th><p><br/>3</p></th>
  <th><p><br/>4</p></th>
  <th><p><br/>5</p></th>
  <th><p><br/>6</p></th>
  <th><p><br/>7</p></th>
  <th><p><br/>8</p></th>
  <th><p><br/>9</p></th>
  <th><p>3<br/>0</p></th>
  <th><p><br/>1</p></th>
 </tr>
 <tr>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>0</td>
  <td>B</td>
  <td>A</td>
 </tr>
</tbody></table>
</dd>
<dd>
<p>Where the bits are defined as:</p>
</dd>
<dd>
<table><thead>
  <tr>
   <th>
   <p>Value</p>
   </th>
   <th>
   <p>Description</p>
   </th>
  </tr>
 </thead><tbody><tr>
  <td>A</td>
  <td>Client receives inbound trusts.</td>
 </tr><tr>
  <td>B</td>
  <td>Client handles the update of the service principal name (SPN). See [SPNNAMES] for details.</td>
 </tr></tbody></table>
</dd>
<dd>
<p>All other bits MUST be set to zero and MUST be
ignored on receipt.</p>
</dd></dl><p><b>SupportedEncTypes:</b> A set of bit flags that
SHOULD<a id="Appendix_A_Target_29"></a><a aria-label="Product behavior note 29" href="0c858a52-732a-43ec-85dd-e44b357c1898#Appendix_A_29" data-linktype="relative-path">&lt;29&gt;</a> specify the encryption types
supported, as specified in <span><a href="../ms-lsad/1b5471ef-4c33-4a91-b079-dfcbb82f05cc" data-linktype="relative-path">[MS-LSAD]</a></span>
section <span><a href="../ms-lsad/7c519a64-3dc1-4be6-a17d-76817cff6e39" data-linktype="relative-path">2.2.7.18</a></span>.
See [MS-LSAD] for a specification of these bit values and their allowed
combinations.</p><p><b>DummyLong3:</b> 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.</p><p><b>DummyLong4:</b> See definition of DummyLong3.</p></div>