mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
r12544: Fix segfaults in winbind, smbpasswd and net
(This used to be commit 9ca8edc26e66887d6333943bc6a9776352c657fc)
This commit is contained in:
parent
1d5add005d
commit
608aa3f41e
@ -932,6 +932,8 @@ int main(int argc, char **argv)
|
||||
|
||||
fault_setup((void (*)(void *))fault_quit );
|
||||
|
||||
load_case_tables();
|
||||
|
||||
/* Initialise for running in non-root mode */
|
||||
|
||||
sec_init();
|
||||
|
@ -781,6 +781,8 @@ static struct functable net_func[] = {
|
||||
|
||||
zero_ip(&opt_dest_ip);
|
||||
|
||||
load_case_tables();
|
||||
|
||||
/* set default debug level to 0 regardless of what smb.conf sets */
|
||||
DEBUGLEVEL_CLASS[DBGC_ALL] = 0;
|
||||
dbf = x_stderr;
|
||||
|
@ -569,6 +569,8 @@ int main(int argc, char **argv)
|
||||
local_flags = LOCAL_AM_ROOT;
|
||||
}
|
||||
|
||||
load_case_tables();
|
||||
|
||||
local_flags = process_options(argc, argv, local_flags);
|
||||
|
||||
setup_logging("smbpasswd", True);
|
||||
|
Loading…
x
Reference in New Issue
Block a user