From 7ce0c5d0ccee370ae6f38c98c1bf8398c0ec9f19 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 2 Mar 2007 13:10:12 +0000 Subject: [PATCH] r21652: Fix samba3-specific initialization --- source/librpc/tools/ndrdump.c | 9 +++++++++ 1 file changed, 9 insertions(+) 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); -- 2.47.2