2.2.3.10 SAMPR_DOMAIN_GENERAL_INFORMATION

The SAMPR_DOMAIN_GENERAL_INFORMATION structure contains domain fields.

 typedef struct _SAMPR_DOMAIN_GENERAL_INFORMATION {
   OLD_LARGE_INTEGER ForceLogoff;
   RPC_UNICODE_STRING OemInformation;
   RPC_UNICODE_STRING DomainName;
   RPC_UNICODE_STRING ReplicaSourceNodeName;
   OLD_LARGE_INTEGER DomainModifiedCount;
   unsigned long DomainServerState;
   unsigned long DomainServerRole;
   unsigned char UasCompatibilityRequired;
   unsigned long UserCount;
   unsigned long GroupCount;
   unsigned long AliasCount;
 } SAMPR_DOMAIN_GENERAL_INFORMATION,
  *PSAMPR_DOMAIN_GENERAL_INFORMATION;

For information on each field, see section 2.2.3.1.

Note In section 2.2.3.1, the types for the DomainServerState and DomainServerRole members are the DOMAIN_SERVER_ENABLE_STATE and DOMAIN_SERVER_ROLE enumerations, respectively. These fields have the same purpose as the enumeration values, but the data types are different. The following tables show the corresponding mappings.

For DomainServerState:

Enumeration DOMAIN_SERVER_ENABLE_STATE value

unsigned long value

DomainServerEnabled

1

DomainServerDisabled

2

For DomainServerRole:

Enumeration DOMAIN_SERVER_ROLE value

unsigned long value

DomainServerRoleBackup

2

DomainServerRolePrimary

3