summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2004-07-13 18:05:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:57:34 -0500
commitbfd8bded8ea8544683b4cc754c7e0fc8ab824776 (patch)
treec60e401ee17b0e0675c517937bb3331dbe175640 /source4/librpc
parentfbdddf0cd9bfe7cba3ce5ca288a052a4c3cf9d02 (diff)
downloadsamba-bfd8bded8ea8544683b4cc754c7e0fc8ab824776.tar.gz
samba-bfd8bded8ea8544683b4cc754c7e0fc8ab824776.tar.bz2
samba-bfd8bded8ea8544683b4cc754c7e0fc8ab824776.zip
r1481: add idl file and torture test dummies
for DRSUapi (the Active Directory Replication Protocol) I'll try to fill the idl file as part of a study project together with some other students... metze (This used to be commit 3fc9abcad712c4cc5c9879df0acaa5a19a3d8718)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/config.m41
-rw-r--r--source4/librpc/idl/drsuapi.idl117
2 files changed, 118 insertions, 0 deletions
diff --git a/source4/librpc/config.m4 b/source4/librpc/config.m4
index 7e0f92b3cc..c360a8f89d 100644
--- a/source4/librpc/config.m4
+++ b/source4/librpc/config.m4
@@ -12,6 +12,7 @@ SMB_SUBSYSTEM(LIBNDR_RAW,[],
librpc/gen_ndr/ndr_lsa.o
librpc/gen_ndr/ndr_lsads.o
librpc/gen_ndr/ndr_dfs.o
+ librpc/gen_ndr/ndr_drsuapi.o
librpc/gen_ndr/ndr_samr.o
librpc/gen_ndr/ndr_spoolss.o
librpc/gen_ndr/ndr_wkssvc.o
diff --git a/source4/librpc/idl/drsuapi.idl b/source4/librpc/idl/drsuapi.idl
new file mode 100644
index 0000000000..a139c60726
--- /dev/null
+++ b/source4/librpc/idl/drsuapi.idl
@@ -0,0 +1,117 @@
+#include "idl_types.h"
+
+[
+ uuid(e3514235-4b06-11d1-ab04-00c04fc2dcd2),
+ version(4.0),
+ endpoints(drsuapi,TCP-0),
+ pointer_default(unique)
+]
+interface drsuapi
+{
+ /*****************/
+ /* Function 0x00 */
+ void DRSUAPI_BIND(
+ /* [in] 8-60 bytes are possible
+ * but I saw 56 bytes
+ */
+ [in] uint8 blob[56],
+ /* [out] 60 bytes */
+ [out] uint8 blob[60]
+ );
+
+ /*****************/
+ /* Function 0x01 */
+ void DRSUAPI_UNBIND();
+
+ /*****************/
+ /* Function 0x02 */
+ void DRSUAPI_REPLICA_SYNC();
+
+ /*****************/
+ /* Function 0x03 */
+ void DRSUAPI_GET_NC_CHANGES();
+
+ /*****************/
+ /* Function 0x04 */
+ void DRSUAPI_UPDATE_REFS();
+
+ /*****************/
+ /* Function 0x05 */
+ void DRSUAPI_REPLICA_ADD();
+
+ /*****************/
+ /* Function 0x06 */
+ void DRSUAPI_REPLICA_DEL();
+
+ /*****************/
+ /* Function 0x07 */
+ void DRSUAPI_REPLICA_MODIFY();
+
+ /*****************/
+ /* Function 0x08 */
+ void DRSUAPI_VERIFY_NAMES();
+
+ /*****************/
+ /* Function 0x09 */
+ void DRSUAPI_GET_MEMBERSHIPS();
+
+ /*****************/
+ /* Function 0x0a */
+ void DRSUAPI_INTER_DOMAIN_MOVE();
+
+ /*****************/
+ /* Function 0x0b */
+ void DRSUAPI_GET_NT4_CHANGELOG();
+
+ /*****************/
+ /* Function 0x0c */
+ void DRSUAPI_CRACKNAMES();
+
+ /*****************/
+ /* Function 0x0d */
+ void DRSUAPI_WRITE_SPN();
+
+ /*****************/
+ /* Function 0x0e */
+ void DRSUAPI_REMOVE_DS_SERVER();
+
+ /*****************/
+ /* Function 0x0f */
+ void DRSUAPI_REMOVE_DS_DOMAIN();
+
+ /*****************/
+ /* Function 0x10 */
+ void DRSUAPI_DOMAIN_CONTROLLER_INFO();
+
+ /*****************/
+ /* Function 0x11 */
+ void DRSUAPI_ADD_ENTRY();
+
+ /*****************/
+ /* Function 0x12 */
+ void DRSUAPI_EXECUTE_KCC();
+
+ /*****************/
+ /* Function 0x13 */
+ void DRSUAPI_GET_REPL_INFO();
+
+ /*****************/
+ /* Function 0x14 */
+ void DRSUAPI_ADD_SID_HISTORY();
+
+ /*****************/
+ /* Function 0x15 */
+ void DRSUAPI_GET_MEMBERSHIPS2();
+
+ /*****************/
+ /* Function 0x16 */
+ void DRSUAPI_REPLICA_VERIFY_OBJECTS();
+
+ /*****************/
+ /* Function 0x17 */
+ void DRSUAPI_GET_OBJECT_EXISTENCE();
+
+ /*****************/
+ /* Function 0x18 */
+ void DRSUAPI_QUERY_SITES_BY_COST();
+}