summaryrefslogtreecommitdiffstats
path: root/source/librpc
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-03-02 13:10:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:18:22 -0500
commit7ce0c5d0ccee370ae6f38c98c1bf8398c0ec9f19 (patch)
tree4765457903247e3e90cfa2bfe318b178334c3fd0 /source/librpc
parent0db258c6004922ce444b4a3ecdf669f7e4600ef0 (diff)
downloadsamba-7ce0c5d0ccee370ae6f38c98c1bf8398c0ec9f19.tar.gz
samba-7ce0c5d0ccee370ae6f38c98c1bf8398c0ec9f19.tar.xz
samba-7ce0c5d0ccee370ae6f38c98c1bf8398c0ec9f19.zip
r21652: Fix samba3-specific initialization
Diffstat (limited to 'source/librpc')
-rw-r--r--source/librpc/tools/ndrdump.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/librpc/tools/ndrdump.c b/source/librpc/tools/ndrdump.c
index 7fc3e57ff32..23cfebcb9c3 100644
--- a/source/librpc/tools/ndrdump.c
+++ b/source/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);