svn commit: samba r4450 - in branches/SAMBA_4_0/source/librpc/idl: .
tridge at samba.org
tridge at samba.org
Fri Dec 31 10:47:04 GMT 2004
Author: tridge
Date: 2004-12-31 10:47:04 +0000 (Fri, 31 Dec 2004)
New Revision: 4450
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=4450
Log:
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
Removed:
branches/SAMBA_4_0/source/librpc/idl/lsads.idl
Modified:
branches/SAMBA_4_0/source/librpc/idl/dssetup.idl
Changeset:
Modified: branches/SAMBA_4_0/source/librpc/idl/dssetup.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/dssetup.idl 2004-12-31 10:45:48 UTC (rev 4449)
+++ branches/SAMBA_4_0/source/librpc/idl/dssetup.idl 2004-12-31 10:47:04 UTC (rev 4450)
@@ -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();
}
Deleted: branches/SAMBA_4_0/source/librpc/idl/lsads.idl
===================================================================
--- branches/SAMBA_4_0/source/librpc/idl/lsads.idl 2004-12-31 10:45:48 UTC (rev 4449)
+++ branches/SAMBA_4_0/source/librpc/idl/lsads.idl 2004-12-31 10:47:04 UTC (rev 4450)
@@ -1,16 +0,0 @@
-#include "idl_types.h"
-
-[
- uuid("3919286a-b10c-11d0-9ba8-00c04fd92ef5"),
- version(0.0),
- endpoint("ncacn_np:[\\pipe\\lsarpc]","ncacn_np:[\\pipe\\lsass]"),
- pointer_default(unique)
-]
-interface lsads
-{
-
- /*****************/
- /* Function 0x00 */
- void lsads_Unknown0();
-
-}
More information about the samba-cvs
mailing list