summaryrefslogtreecommitdiff
path: root/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-12-28 17:05:18 +0100
committerVolker Lendecke <vl@samba.org>2010-12-28 17:11:33 +0100
commit181cd3281c4f2c53dc507f59d281a2517579cfe1 (patch)
treeaa26048c22e430b4b13da9d557f490c084bcf95e /nsswitch
parent571711431885e8e556822c14b3d117025860bf81 (diff)
downloadsamba-181cd3281c4f2c53dc507f59d281a2517579cfe1.tar.gz
samba-181cd3281c4f2c53dc507f59d281a2517579cfe1.tar.bz2
samba-181cd3281c4f2c53dc507f59d281a2517579cfe1.zip
Fix a crash in libnss_wins
lp_set_parm accesses the case tables
Diffstat (limited to 'nsswitch')
-rw-r--r--nsswitch/wins.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/wins.c b/nsswitch/wins.c
index 731efcb448..276724dc36 100644
--- a/nsswitch/wins.c
+++ b/nsswitch/wins.c
@@ -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();
}