]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
r21652: Fix samba3-specific initialization
authorJelmer Vernooij <jelmer@samba.org>
Fri, 2 Mar 2007 13:10:12 +0000 (13:10 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:18:22 +0000 (12:18 -0500)
source/librpc/tools/ndrdump.c

index 7fc3e57ff3256adeb4cbc536e96607d2cebebf01..23cfebcb9c3fb54c097df851fbd23c3ef3e0a6bc 100644 (file)
@@ -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);