Freigeben über


3.1.4.8 Determining If the Implementation Is Running on a Domain Controller

The implementation determines whether it is running on a domain controller by querying the current server configuration by calling the abstract interface ServerGetInfo specified in [MS-DTYP] section 2.6, specifying 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.