3 Protocol Details
This protocol determines whether it is running on a domain controller by querying the current server configuration. This is accomplished by calling the abstract interface ServerGetInfo, specified in [MS-DTYP] section 2.6, and indicating a level of 101. The resulting bufptr contains a SERVER_INFO_101 structure, as specified in [MS-DTYP] section 2.3.12. The determination is TRUE if sv101_version_type contains SV_TYPE_DOMAIN_CTRL or SV_TYPE_DOMAIN_BAKCTRL. If sv101_version_type does not contain either of these values, the determination is FALSE.