summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-11-22 18:40:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:28:25 -0500
commit9671a72a4c3e0950585575da72e2c740f294031c (patch)
tree68ab2001e5f57c9329ca937db09cfc2dbf616e8b /source4/librpc
parent60b401efb9102c515f68e9fdde368db2eb59ab9e (diff)
downloadsamba-9671a72a4c3e0950585575da72e2c740f294031c.tar.gz
samba-9671a72a4c3e0950585575da72e2c740f294031c.tar.bz2
samba-9671a72a4c3e0950585575da72e2c740f294031c.zip
r19847: add idl for DsRemoveDSServer(), this is used when a server unbecomes a DC
metze (This used to be commit df133cd22a350d422c49844e50a67f4cc1fb61e4)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/idl/drsuapi.idl25
1 files changed, 24 insertions, 1 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl
index 0504c0d442..a01e082267 100644
--- a/source4/librpc/idl/drsuapi.idl
+++ b/source4/librpc/idl/drsuapi.idl
@@ -945,7 +945,30 @@ interface drsuapi
/*****************/
/* Function 0x0e */
- WERROR DRSUAPI_REMOVE_DS_SERVER();
+ typedef struct {
+ [charset(UTF16),string] uint16 *server_dn;
+ [charset(UTF16),string] uint16 *domain_dn;
+ uint32 unknown; /* 0x000000001 */
+ } drsuapi_DsRemoveDSServerRequest1;
+
+ typedef [switch_type(int32)] union {
+ [case(1)] drsuapi_DsRemoveDSServerRequest1 req1;
+ } drsuapi_DsRemoveDSServerRequest;
+
+ typedef struct {
+ WERROR status;
+ } drsuapi_DsRemoveDSServerResult1;
+
+ typedef [switch_type(int32)] union {
+ [case(1)] drsuapi_DsRemoveDSServerResult1 res1;
+ } drsuapi_DsRemoveDSServerResult;
+
+ WERROR drsuapi_DsRemoveDSServer(
+ [in] policy_handle *bind_handle,
+ [in,out] int32 level,
+ [in,switch_is(level)] drsuapi_DsRemoveDSServerRequest req,
+ [out,switch_is(level)] drsuapi_DsRemoveDSServerResult res
+ );
/*****************/
/* Function 0x0f */