mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
Fix a crash in libnss_wins
lp_set_parm accesses the case tables
This commit is contained in:
parent
5717114318
commit
181cd3281c
@ -94,11 +94,11 @@ static int wins_lookup_open_socket_in(void)
|
||||
static void nss_wins_init(void)
|
||||
{
|
||||
initialised = 1;
|
||||
load_case_tables();
|
||||
lp_set_cmdline("log level", "0");
|
||||
|
||||
TimeInit();
|
||||
setup_logging("nss_wins",False);
|
||||
load_case_tables();
|
||||
lp_load(get_dyn_CONFIGFILE(),True,False,False,True);
|
||||
load_interfaces();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user