smb_iconv_t smb_iconv_open_ex(TALLOC_CTX *mem_ctx, const char *tocode,
const char *fromcode, bool use_builtin_handlers);
-void load_case_tables(void);
+void smb_init_locale(void);
/* The following definitions come from util_unistr_w.c */
0xfff8,0xfff9,0xfffa,0xfffb,0xfffc,0xfffd,0xfffe,0xffff
};
-void load_case_tables(void)
+void smb_init_locale(void)
{
/* This is a useful global hook where we can ensure that the
* locale is set from the environment. This is needed so that
ndr_table_init();
/* Initialise samba stuff */
- load_case_tables();
+ smb_init_locale();
setlinebuf(stdout);
};
/* Samba client initialisation */
- load_case_tables();
+ smb_init_locale();
/* Parse options */
/* set default debug level to 1 regardless of what smb.conf sets */
setup_logging( "smbclient", DEBUG_DEFAULT_STDERR );
- load_case_tables();
+ smb_init_locale();
lp_set_cmdline("log level", "1");
setup_logging("smbspool", DEBUG_STDOUT);
- load_case_tables();
+ smb_init_locale();
if (!lp_load_client(get_dyn_CONFIGFILE())) {
fprintf(stderr, "ERROR: Can't load %s - run testparm to debug it\n", get_dyn_CONFIGFILE());
{0, 0, 0, 0}
};
- load_case_tables();
+ smb_init_locale();
setup_logging(argv[0], DEBUG_STDERR);
/* parse options */
setup_logging(argv[0], DEBUG_DEFAULT_STDOUT);
- load_case_tables();
+ smb_init_locale();
global_nmb_port = NMB_PORT;
TALLOC_CTX *frame = talloc_stackframe();
- load_case_tables();
+ smb_init_locale();
lp_set_cmdline("log level", "0");
pc = poptGetContext(NULL, argc, argv, long_options,
POPT_TABLEEND
};
- load_case_tables();
+ smb_init_locale();
zero_sockaddr(&server_ss);
setup_logging(argv[0], DEBUG_DEFAULT_STDOUT);
- load_case_tables();
+ smb_init_locale();
set_smbd_shim(&smbd_shim_fns);
argc -= 1;
argv += 1;
- load_case_tables();
+ smb_init_locale();
lp_load_global(get_dyn_CONFIGFILE());
load_interfaces();
int ret;
TALLOC_CTX *frame = talloc_stackframe();
- load_case_tables();
+ smb_init_locale();
setup_logging(argv[0], DEBUG_STDOUT);
ctx = talloc_stackframe();
- load_case_tables();
+ smb_init_locale();
pc = poptGetContext("pdbtest", argc, argv, long_options, 0);
setup_logging("smbtorture", DEBUG_STDOUT);
- load_case_tables();
+ smb_init_locale();
fault_setup();
if (is_default_dyn_CONFIGFILE()) {
.exit_server_cleanly = vfstest_exit_server_cleanly,
};
- load_case_tables();
+ smb_init_locale();
setlinebuf(stdout);
int extra_argc = 0;
poptContext pc;
- load_case_tables();
+ smb_init_locale();
lp_set_cmdline("log level", "0");
setup_logging(argv[0], DEBUG_STDERR);
setlinebuf(stdout);
}
- load_case_tables();
+ smb_init_locale();
setup_logging(argv[0], DEBUG_STDERR);
lp_set_cmdline("log level", "0");
fstring opname;
- load_case_tables();
+ smb_init_locale();
opt_debug = 0; /* todo set this from getopts */
setup_logging(argv[0], DEBUG_STDERR);
- load_case_tables();
+ smb_init_locale();
setlocale(LC_ALL, "");
#if defined(HAVE_BINDTEXTDOMAIN)
*lookup = 0;
- load_case_tables();
+ smb_init_locale();
setup_logging(argv[0], DEBUG_STDOUT);
};
/* Samba client initialisation */
- load_case_tables();
+ smb_init_locale();
setup_logging("ntlm_auth", DEBUG_STDERR);
bin = bout = NULL;
- load_case_tables();
+ smb_init_locale();
setup_logging("pdbedit", DEBUG_STDOUT);
};
poptContext pc;
- load_case_tables();
+ smb_init_locale();
/* setup logging options */
/* set default debug level to 1 regardless of what smb.conf sets */
setup_logging( "sharesec", DEBUG_STDERR);
- load_case_tables();
+ smb_init_locale();
lp_set_cmdline("log level", "1");
char *server;
struct user_auth_info *auth_info;
- load_case_tables();
+ smb_init_locale();
/* set default debug level to 1 regardless of what smb.conf sets */
setup_logging( "smbcacls", DEBUG_STDERR);
TALLOC_CTX *frame = talloc_stackframe();
int ret = 0;
- load_case_tables();
+ smb_init_locale();
setup_logging(argv[0], DEBUG_STDOUT);
{ NULL }
};
- load_case_tables();
+ smb_init_locale();
ZERO_STRUCT(qt);
const char *configfile;
TALLOC_CTX *frame = talloc_stackframe();
- load_case_tables();
+ smb_init_locale();
setup_logging(argv[0], DEBUG_STDOUT);
};
poptContext pc;
- load_case_tables();
+ smb_init_locale();
/* only read rcfile if it exists */
if (asprintf(&rcfile, "%s/.smbgetrc", getenv("HOME")) == -1) {
local_flags = LOCAL_AM_ROOT;
}
- load_case_tables();
+ smb_init_locale();
local_flags = process_options(argc, argv, local_flags);
int main(int argc, char **argv)
{
sec_init();
- load_case_tables();
+ smb_init_locale();
if (!lp_load_initial_only(get_dyn_CONFIGFILE())) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n",
poptContext pc;
/* Initialise samba stuff */
- load_case_tables();
+ smb_init_locale();
setlinebuf(stdout);
POPT_TABLEEND
};
- load_case_tables();
+ smb_init_locale();
pc = poptGetContext(NULL, argc, argv, long_options,
POPT_CONTEXT_KEEP_FIRST);
bool ok;
sec_init();
- load_case_tables();
+ smb_init_locale();
setup_logging(argv[0], DEBUG_STDERR);
TALLOC_CTX *frame = talloc_stackframe();
- load_case_tables();
+ smb_init_locale();
/*
* Set the default debug level to 2.
* Allow it to be overridden by the command line,
fault_setup();
dump_core_setup("winbindd", lp_logfile(talloc_tos()));
- load_case_tables();
+ smb_init_locale();
/* Initialise for running in non-root mode */