summaryrefslogtreecommitdiff
path: root/source4/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-02 13:44:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:04 -0500
commit04fed31e1a61366debd217510cb1a9d767fbaaec (patch)
treef13eedb3a29aa15f0deb07d2fd9c6b74c0d927e9 /source4/librpc
parent678c401d3ed6f480e237e519aa9aeeaa12b0ab52 (diff)
downloadsamba-04fed31e1a61366debd217510cb1a9d767fbaaec.tar.gz
samba-04fed31e1a61366debd217510cb1a9d767fbaaec.tar.bz2
samba-04fed31e1a61366debd217510cb1a9d767fbaaec.zip
r21653: Add two more tdr tests.
(This used to be commit cc40e3acd95aecea481a65e936d311b815c6e9ae)
Diffstat (limited to 'source4/librpc')
-rw-r--r--source4/librpc/tools/ndrdump.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source4/librpc/tools/ndrdump.c b/source4/librpc/tools/ndrdump.c
index 7fc3e57ff3..23cfebcb9c 100644
--- a/source4/librpc/tools/ndrdump.c
+++ b/source4/librpc/tools/ndrdump.c
@@ -166,6 +166,15 @@ const struct dcerpc_interface_table *load_iface_from_plugin(const char *plugin,
#if (_SAMBA_BUILD_ >= 4)
dcerpc_table_init();
+#else
+ /* Initialise samba stuff */
+ load_case_tables();
+
+ setlinebuf(stdout);
+
+ dbf = x_stderr;
+
+ setup_logging(argv[0],True);
#endif
pc = poptGetContext("ndrdump", argc, argv, long_options, 0);