summaryrefslogtreecommitdiff
path: root/testprogs
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-09-29 02:50:19 +0200
committerStefan Metzmacher <metze@samba.org>2010-09-29 03:08:24 +0200
commitc5e221c5f88cbc557a6978bc062f5efef224b94a (patch)
treef24a4ffc44b3dd54138840cc2002c9d7c9942d25 /testprogs
parent06108687e8949520b29e0016fb9605facfd6f073 (diff)
downloadsamba-c5e221c5f88cbc557a6978bc062f5efef224b94a.tar.gz
samba-c5e221c5f88cbc557a6978bc062f5efef224b94a.tar.bz2
samba-c5e221c5f88cbc557a6978bc062f5efef224b94a.zip
midltests: add some usefull defines to midltests.idl
metze
Diffstat (limited to 'testprogs')
-rw-r--r--testprogs/win32/midltests/midltests.idl24
1 files changed, 24 insertions, 0 deletions
diff --git a/testprogs/win32/midltests/midltests.idl b/testprogs/win32/midltests/midltests.idl
index b327657496..0c0bbf8d3d 100644
--- a/testprogs/win32/midltests/midltests.idl
+++ b/testprogs/win32/midltests/midltests.idl
@@ -1,5 +1,29 @@
#ifndef MIDLTESTS_C_CODE
+/*
+ * For midltests_tcp.exe you may want to
+ * redirect the traffic via rinetd
+ * with a /etc/rinetd.conf like this:
+ *
+ * 172.31.9.1 5032 172.31.9.8 5032
+ * 172.31.9.1 5064 172.31.9.8 5064
+ *
+ * This is useful to watch the traffic with
+ * a network sniffer.
+ */
+/*
+cpp_quote("#define LISTEN_IP \"0.0.0.0\"")
+cpp_quote("#define FORWARD_IP \"127.0.0.1\"")
+cpp_quote("#define CONNECT_IP \"172.31.9.1\"")
+*/
+
+/*
+ * With midltests_tcp.exe NDR64 is enforced by default.
+ * For testing it might be needed to allow downgrades
+ * to NDR32. This is needed when you use 'pipe'.
+ */
+//cpp_quote("#define DONOT_FORCE_NDR64 1")
+
[
uuid("225b9fcb-eb3d-497b-8b0b-591f049a2507"),
pointer_default(unique)