This topic has not yet been rated - Rate this topic

3.3.5.4.2.5 UPN_DNS_INFO Structure

The KDC populates the returned UPN_DNS_INFO structure ([MS-PAC] section 2.10) fields<49> as follows:

  • The UpnLength field SHOULD be the length of the UPN field, in bytes.

  • The UpnOffset field SHOULD be the offset of the UPN field to the beginning of the buffer, in bytes, from the beginning of the UPN_DNS_INFO structure.

  • The DnsDomainNameLength field SHOULD be the length of the DnsDomainName field, in bytes.

  • The DnsDomainNameOffset field SHOULD be the offset of the DnsDomainName field to the beginning of the buffer, in bytes, from the beginning of the UPN_DNS_INFO structure.

  • The Flags field SHOULD set the U bit if the user account object does not have the userPrincipalName attribute ([MS-ADA3] section 2.349) set.

The KDC inserts the DNS and UPN information after the UPN_DNS_INFO structure following the header and starting with the corresponding offset in a consecutive buffer. The UPN and FQDN are encoded using a two-byte UTF16 scheme, in little-endian order.

 
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.