summaryrefslogtreecommitdiff
path: root/source4/librpc/idl/dssetup.idl
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2004-12-31 10:47:04 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:51 -0500
commit4ad7acbbeea9e04efd917c057a7f794b2e0a06e0 (patch)
treeccefe9c38b312b788c49a897d8eccf4f0b94a67e /source4/librpc/idl/dssetup.idl
parent502490b46709666ff0b5ccd4a2d9e12773693b89 (diff)
downloadsamba-4ad7acbbeea9e04efd917c057a7f794b2e0a06e0.tar.gz
samba-4ad7acbbeea9e04efd917c057a7f794b2e0a06e0.tar.bz2
samba-4ad7acbbeea9e04efd917c057a7f794b2e0a06e0.zip
r4450: the beginnings of IDL for the dssetup pipe. I need this pipe for ACL editing from w2k3
when we present ourselves as a DC in the registry (This used to be commit 9651901791e0553f106ab957c5787c109098248b)
Diffstat (limited to 'source4/librpc/idl/dssetup.idl')
-rw-r--r--source4/librpc/idl/dssetup.idl51
1 files changed, 40 insertions, 11 deletions
diff --git a/source4/librpc/idl/dssetup.idl b/source4/librpc/idl/dssetup.idl
index e50b71f2db..17288e5791 100644
--- a/source4/librpc/idl/dssetup.idl
+++ b/source4/librpc/idl/dssetup.idl
@@ -1,18 +1,47 @@
+#include "idl_types.h"
+
+/*
+ dssetup interface definition
+*/
+
[
uuid("3919286a-b10c-11d0-9ba8-00c04fd92ef5"),
version(0.0),
+ endpoint("ncacn_np:[\\pipe\\lsarpc]","ncacn_np:[\\pipe\\lsass]"),
+ pointer_default(unique),
helpstring("Active Directory Setup")
] interface dssetup
{
- void DsRolerGetPrimaryDomainInformation();
- void DsRolerDnsNameToFlatName();
- void DsRolerDcAsDc();
- void DsRolerDcAsReplica();
- void DsRolerDemoteDc();
- void DsRolerGetDcOperationProgress();
- void DsRolerGetDcOperationResults();
- void DsRolerCancel();
- void DsRolerServerSaveStateForUpgrade();
- void DsRolerUpgradeDownlevelServer();
- void DsRolerAbortDownlevelServerUpgrade();
+ /**********************************************/
+ /* Function 0x00 */
+
+ typedef struct {
+ uint16 role;
+ uint32 flags;
+ unistr *domain;
+ unistr *dns_domain;
+ unistr *forest;
+ GUID domain_guid;
+ } ds_DomainBasicInformation;
+
+ typedef union {
+ [case(1)] ds_DomainBasicInformation info1;
+ } ds_DomainInformation;
+
+ NTSTATUS ds_RolerGetPrimaryDomainInformation(
+ [in] uint16 level,
+ [out,switch_is(level)] ds_DomainInformation *info
+ );
+
+
+ NTSTATUS ds_RolerDnsNameToFlatName();
+ NTSTATUS ds_RolerDcAsDc();
+ NTSTATUS ds_RolerDcAsReplica();
+ NTSTATUS ds_RolerDemoteDc();
+ NTSTATUS ds_RolerGetDcOperationProgress();
+ NTSTATUS ds_RolerGetDcOperationResults();
+ NTSTATUS ds_RolerCancel();
+ NTSTATUS ds_RolerServerSaveStateForUpgrade();
+ NTSTATUS ds_RolerUpgradeDownlevelServer();
+ NTSTATUS ds_RolerAbortDownlevelServerUpgrade();
}