/* set default debug level to 1 regardless of what smb.conf sets */
setup_logging( "smbclient", DEBUG_DEFAULT_STDERR );
- lp_set_cmdline("log level", "1");
-
load_case_tables();
+ lp_set_cmdline("log level", "1");
+
auth_info = user_auth_info_init(frame);
if (auth_info == NULL) {
exit(1);
talloc_enable_null_tracking();
frame = talloc_stackframe();
+ load_case_tables();
+
/* Initialize the event context, it will panic on error */
smbd_event_context();
exit(0);
}
- load_case_tables();
-
#ifdef HAVE_SETLUID
/* needed for SecureWare on SCO */
setluid(0);
setlinebuf(stdout);
}
+ load_case_tables();
+
setup_logging(argv[0], DEBUG_STDERR);
lp_set_cmdline("log level", "0");
while (extra_argv[extra_argc]) extra_argc++;
}
- load_case_tables();
lp_load(get_dyn_CONFIGFILE(), true, false, false, true);
ev_ctx = tevent_context_init(mem_ctx);
/* set default debug level to 1 regardless of what smb.conf sets */
setup_logging( "sharesec", DEBUG_STDERR);
+
+ load_case_tables();
+
lp_set_cmdline("log level", "1");
pc = poptGetContext("sharesec", argc, argv, long_options, 0);
setlinebuf(stdout);
- load_case_tables();
-
lp_load( get_dyn_CONFIGFILE(), False, False, False, True );
/* check for initializing secrets.tdb first */
load_case_tables();
-
/* set default debug level to 1 regardless of what smb.conf sets */
setup_logging( "smbcacls", DEBUG_STDERR);
lp_set_cmdline("log level", "1");
open("/dev/null", O_WRONLY);
setup_logging("swat", DEBUG_FILE);
+ load_case_tables();
+
pc = poptGetContext("swat", argc, (const char **) argv, long_options, 0);
/* Parse command line options */
poptFreeContext(pc);
- load_case_tables();
-
/* This should set a more apporiate log file */
load_config(True);
reopen_logs();