<div class="content"><p align="right"><a href="https://msdn.microsoft.com/en-us/library/9c5a9e2c-2aae-40e2-8fcb-b9dfc032ac3b" data-linktype="external">msdn link</a></p><p>The NETLOGON_SAM_LOGON_RESPONSE_NT40 structure is the
server&#39;s response to an <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_a01cea16-0836-469c-81d4-9eeb52be1ad6" data-linktype="relative-path">LDAP
ping</a> (section <a href="895a7744-aff3-4f64-bcfa-f8c05915d2e9" data-linktype="relative-path">6.3.3</a>)
or a <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_0a5fd868-ff77-4beb-838e-79f98cbe3898" data-linktype="relative-path">mailslot ping</a>
(section <a href="2cff75a9-5871-4493-a704-017b506f8df0" data-linktype="relative-path">6.3.5</a>).</p><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 colspan="16">
  <p>Opcode</p>
  </td>
  <td colspan="16">
  <p>UnicodeLogonServer
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>UnicodeUserName
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>UnicodeDomainName
  (variable)</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>...</p>
  </td>
 </tr>
 <tr>
  <td colspan="32">
  <p>NtVersion</p>
  </td>
 </tr>
 <tr>
  <td colspan="16">
  <p>LmNtToken</p>
  </td>
  <td colspan="16">
  <p>Lm20Token</p>
  </td>
 </tr>
</tbody></table><p><b>Opcode (2 bytes): </b>Operation code (see section <a href="07133ff2-a9a3-4aa9-8896-a7dcb53bdfe9" data-linktype="relative-path">6.3.1.3</a>).</p><p><b>UnicodeLogonServer (variable): </b>Null-terminated
<a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_c305d0ab-8b94-461a-bd76-13b40cb8c4d8" data-linktype="relative-path">Unicode</a> value of the <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_b86c44e6-57df-4c48-8163-5e3fa7bdcff4" data-linktype="relative-path">NetBIOS</a> name of the server.
This field MUST contain at least one character: the null terminator. Each
Unicode value is encoded as 2 bytes.</p><p><b>UnicodeUserName (variable): </b>Null-terminated
Unicode value of the name of the user copied directly from the client&#39;s
request. This field MUST contain at least one character: the null terminator.
Each Unicode value is encoded as 2 bytes. </p><p><b>UnicodeDomainName (variable): </b>Null-terminated
Unicode value of the NetBIOS name of the <a href="b645c125-a7da-4097-84a1-2fa7cea07714#gt_784c7cce-f782-48d8-9444-c9030ba86942" data-linktype="relative-path">NC</a>. This field MUST contain
at least one character: the null terminator. Each Unicode value is encoded as 2
bytes.</p><p><b>NtVersion (4 bytes): </b>Set to
NETLOGON_NT_VERSION_1.</p><p><b>LmNtToken (2 bytes): </b>This MUST be set to
0xFFFF.</p><p><b>Lm20Token (2 bytes): </b>This MUST be set to
0xFFFF.</p><p><b>Note</b>  All multibyte quantities are
represented in little-endian byte order.</p></div>