summaryrefslogtreecommitdiff
path: root/source4/librpc/idl
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-03 19:09:34 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:36:04 -0500
commit57f5bf78fa9fc9d190c3cb25251e686a1488f790 (patch)
treee89b02a2e3878c2292906445ad14e1af651d8ee5 /source4/librpc/idl
parent8d139b0e93b871cfb26067ea4095b1d42a7382ea (diff)
downloadsamba-57f5bf78fa9fc9d190c3cb25251e686a1488f790.tar.gz
samba-57f5bf78fa9fc9d190c3cb25251e686a1488f790.tar.bz2
samba-57f5bf78fa9fc9d190c3cb25251e686a1488f790.zip
r20514: implement idl for DsGetNT4ChangeLog() which transferres the meta data
for NT4 DC's in mixed mode domains. This call is triggered by tranferring the PDC FSMO Role to another DC the real meta data is encoded in the user buffer which is just a DATA_BLOB in idl metze (This used to be commit d883815c8d64429e4dac26a93a15e67d31dc263e)
Diffstat (limited to 'source4/librpc/idl')
-rw-r--r--source4/librpc/idl/drsuapi.idl36
1 files changed, 35 insertions, 1 deletions
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl
index f4cef5affd..e815de1cca 100644
--- a/source4/librpc/idl/drsuapi.idl
+++ b/source4/librpc/idl/drsuapi.idl
@@ -742,7 +742,41 @@ interface drsuapi
/*****************/
/* Function 0x0b */
- WERROR DRSUAPI_GET_NT4_CHANGELOG();
+ typedef struct {
+ uint32 unknown1;
+ uint32 unknown2;
+ [range(0,0x00A00000)] uint32 length;
+ [size_is(length)] uint8 *data;
+ } drsuapi_DsGetNT4ChangeLogRequest1;
+
+ typedef [switch_type(uint32)] union {
+ [case(1)] drsuapi_DsGetNT4ChangeLogRequest1 req1;
+ } drsuapi_DsGetNT4ChangeLogRequest;
+
+ typedef struct {
+ [range(0,0x00A00000)] uint32 length1;
+ [range(0,0x00A00000)] uint32 length2;
+ hyper unknown1;
+ NTTIME time2;
+ hyper unknown3;
+ NTTIME time4;
+ hyper unknown5;
+ NTTIME time6;
+ NTSTATUS status;
+ [size_is(length1)] uint8 *data1;
+ [size_is(length2)] uint8 *data2;
+ } drsuapi_DsGetNT4ChangeLogInfo1;
+
+ typedef [switch_type(uint32)] union {
+ [case(1)] drsuapi_DsGetNT4ChangeLogInfo1 info1;
+ } drsuapi_DsGetNT4ChangeLogInfo;
+
+ WERROR drsuapi_DsGetNT4ChangeLog(
+ [in] policy_handle *bind_handle,
+ [in,out] uint32 level,
+ [in] [switch_is(level)] drsuapi_DsGetNT4ChangeLogRequest req,
+ [out] [switch_is(level)] drsuapi_DsGetNT4ChangeLogInfo info
+ );
/*****************/
/* Function 0x0c */