3.2.5.3 Locate a DS_BEHAVIOR_WIN2012 DC

When a DS_BEHAVIOR_WIN2012 ([MS-ADTS] section 3.1.1.3.2.25) Domain Controller (DC) is required, DsrGetDcNameEx2 method ([MS-NRPC] section 3.5.4.3.1) is called where:

  • AccountName is the client account name.

  • AllowableAccountControlBits has bits A, B, C, D, E, and F set.

  • DomainName is the client domain name.

  • Flags has bits G, H, and U set.

  • All other fields are set to NULL.

The IP address of the DS_BEHAVIOR_WIN2012 DC is returned in DomainControllerInfo.DomainControllerAddress.