diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/nmbd/nmbd.c | 2 | ||||
-rw-r--r-- | source3/smbd/server.c | 4 |
2 files changed, 4 insertions, 2 deletions
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) { |