From 496b67888202093ad464d05f14eb5633583b2631 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 29 Dec 2005 13:10:33 +0000 Subject: r12564: Ensure load_case_tables is always done first. Jeremy. (This used to be commit addb5095292d6b201cc85f6acab5ec8e6f8f4404) --- source3/nmbd/nmbd.c | 2 ++ source3/smbd/server.c | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'source3') diff --git a/source3/nmbd/nmbd.c b/source3/nmbd/nmbd.c index 78411d3417..68004bad59 100644 --- a/source3/nmbd/nmbd.c +++ b/source3/nmbd/nmbd.c @@ -669,6 +669,8 @@ static BOOL open_sockets(BOOL isdaemon, int port) { NULL } }; + load_case_tables(); + global_nmb_port = NMB_PORT; pc = poptGetContext("nmbd", argc, argv, long_options, 0); diff --git a/source3/smbd/server.c b/source3/smbd/server.c index 304f1b588e..ff894e2460 100644 --- a/source3/smbd/server.c +++ b/source3/smbd/server.c @@ -718,6 +718,8 @@ void build_options(BOOL screen); { NULL } }; + load_case_tables(); + #ifdef HAVE_SET_AUTH_PARAMETERS set_auth_parameters(argc,argv); #endif @@ -742,8 +744,6 @@ void build_options(BOOL screen); sec_init(); - load_case_tables(); - set_remote_machine_name("smbd", False); if (interactive) { -- cgit