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
34 } ds_DomainBasicInformation;
42 DS_PREVIOUS_UNKNOWN = 0,
43 DS_PREVIOUS_PRIMARY = 1,
44 DS_PREVIOUS_BACKUP = 2
50 } ds_DomainUpgradeStatus;
55 DS_STATUS_NEEDS_REBOOT = 2
63 DS_BASIC_INFORMATION = 1,
64 DS_UPGRADE_STATUS = 2,
66 } ds_InformationLevel;
69 [case(DS_BASIC_INFORMATION)] ds_DomainBasicInformation basic;
70 [case(DS_UPGRADE_STATUS)] ds_DomainUpgradeStatus upgrade;
71 [case(DS_ROLE_OP_STATUS)] ds_RoleOpStatus status;
72 } ds_DomainInformation;
74 WERROR ds_RolerGetPrimaryDomainInformation(
76 [out,switch_is(level)] ds_DomainInformation *info
80 w2k3 has removed all the calls below from their implementation.
81 These stubs are left here only as a way of documenting the names
82 of the calls in case they ever turn up on the wire.
84 WERROR ds_RolerDnsNameToFlatName();
85 WERROR ds_RolerDcAsDc();
86 WERROR ds_RolerDcAsReplica();
87 WERROR ds_RolerDemoteDc();
88 WERROR ds_RolerGetDcOperationProgress();
89 WERROR ds_RolerGetDcOperationResults();
90 WERROR ds_RolerCancel();
91 WERROR ds_RolerServerSaveStateForUpgrade();
92 WERROR ds_RolerUpgradeDownlevelServer();
93 WERROR ds_RolerAbortDownlevelServerUpgrade();