4 dssetup interface definition
8 uuid("3919286a-b10c-11d0-9ba8-00c04fd92ef5"),
10 endpoint("ncacn_np:[\\pipe\\lsarpc]", "ncacn_np:[\\pipe\\lsass]", "ncalrpc:"),
11 pointer_default(unique),
12 helpstring("Active Directory Setup")
15 /**********************************************/
19 DS_ROLE_STANDALONE_WORKSTATION = 0,
20 DS_ROLE_MEMBER_WORKSTATION = 1,
21 DS_ROLE_STANDALONE_SERVER = 2,
22 DS_ROLE_MEMBER_SERVER = 3,
23 DS_ROLE_BACKUP_DC = 4,
24 DS_ROLE_PRIMARY_DC = 5
27 const uint32 DS_ROLE_PRIMARY_DS_RUNNING = 0x00000001;
28 const uint32 DS_ROLE_PRIMARY_DS_MIXED_MODE = 0x00000002;
29 const uint32 DS_ROLE_UPGRADE_IN_PROGRESS = 0x00000004;
30 const uint32 DS_ROLE_PRIMARY_DOMAIN_GUID_PRESENT = 0x01000000;
39 } dssetup_DsRolePrimaryDomInfoBasic;
42 DS_ROLE_NOT_UPGRADING = 0,
47 DS_ROLE_PREVIOUS_UNKNOWN = 0,
48 DS_ROLE_PREVIOUS_PRIMARY = 1,
49 DS_ROLE_PREVIOUS_BACKUP = 2
55 } dssetup_DsRoleUpgradeStatus;
59 DS_ROLE_OP_ACTIVE = 1,
60 DS_ROLE_OP_NEEDS_REBOOT = 2
65 } dssetup_DsRoleOpStatus;
68 DS_ROLE_BASIC_INFORMATION = 1,
69 DS_ROLE_UPGRADE_STATUS = 2,
71 } dssetup_DsRoleInfoLevel;
74 [case(DS_ROLE_BASIC_INFORMATION)] dssetup_DsRolePrimaryDomInfoBasic basic;
75 [case(DS_ROLE_UPGRADE_STATUS)] dssetup_DsRoleUpgradeStatus upgrade;
76 [case(DS_ROLE_OP_STATUS)] dssetup_DsRoleOpStatus opstatus;
80 WERROR dssetup_DsRoleGetPrimaryDomainInformation(
82 [out,switch_is(level)] dssetup_DsRoleInfo *info
86 w2k3 has removed all the calls below from their implementation.
87 These stubs are left here only as a way of documenting the names
88 of the calls in case they ever turn up on the wire.
90 WERROR dssetup_DsRoleDnsNameToFlatName();
91 WERROR dssetup_DsRoleDcAsDc();
92 WERROR dssetup_DsRoleDcAsReplica();
93 WERROR dssetup_DsRoleDemoteDc();
94 WERROR dssetup_DsRoleGetDcOperationProgress();
95 WERROR dssetup_DsRoleGetDcOperationResults();
96 WERROR dssetup_DsRoleCancel();
97 WERROR dssetup_DsRoleServerSaveStateForUpgrade();
98 WERROR dssetup_DsRoleUpgradeDownlevelServer();
99 WERROR dssetup_DsRoleAbortDownlevelServerUpgrade();