r4450: the beginnings of IDL for the dssetup pipe. I need this pipe for ACL editing...
[samba.git] / source4 / librpc / idl / dssetup.idl
1 #include "idl_types.h"
2
3 /*
4   dssetup interface definition
5 */
6
7 [
8         uuid("3919286a-b10c-11d0-9ba8-00c04fd92ef5"),
9         version(0.0),
10         endpoint("ncacn_np:[\\pipe\\lsarpc]","ncacn_np:[\\pipe\\lsass]"),
11         pointer_default(unique),
12         helpstring("Active Directory Setup")
13 ] interface dssetup
14 {
15         /**********************************************/
16         /* Function 0x00                              */
17
18         typedef struct {
19                 uint16    role;
20                 uint32    flags;
21                 unistr    *domain;
22                 unistr    *dns_domain;
23                 unistr    *forest;
24                 GUID domain_guid;
25         } ds_DomainBasicInformation;
26         
27         typedef union {
28                 [case(1)] ds_DomainBasicInformation info1;
29         } ds_DomainInformation;
30
31         NTSTATUS ds_RolerGetPrimaryDomainInformation(
32                 [in] uint16 level,
33                 [out,switch_is(level)] ds_DomainInformation *info
34                 );
35
36
37         NTSTATUS ds_RolerDnsNameToFlatName();
38         NTSTATUS ds_RolerDcAsDc();
39         NTSTATUS ds_RolerDcAsReplica();
40         NTSTATUS ds_RolerDemoteDc();
41         NTSTATUS ds_RolerGetDcOperationProgress();
42         NTSTATUS ds_RolerGetDcOperationResults();
43         NTSTATUS ds_RolerCancel();
44         NTSTATUS ds_RolerServerSaveStateForUpgrade();
45         NTSTATUS ds_RolerUpgradeDownlevelServer();
46         NTSTATUS ds_RolerAbortDownlevelServerUpgrade();
47 }