summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2005-12-29 13:10:33 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:59 -0500
commit496b67888202093ad464d05f14eb5633583b2631 (patch)
tree79a398acce880829f7f3a83e87d6a8172a907e73 /source3
parentc8f28c92a7a96e278031b85f04b4671206bf3502 (diff)
downloadsamba-496b67888202093ad464d05f14eb5633583b2631.tar.gz
samba-496b67888202093ad464d05f14eb5633583b2631.tar.bz2
samba-496b67888202093ad464d05f14eb5633583b2631.zip
r12564: Ensure load_case_tables is always done first.
Jeremy. (This used to be commit addb5095292d6b201cc85f6acab5ec8e6f8f4404)
Diffstat (limited to 'source3')
-rw-r--r--source3/nmbd/nmbd.c2
-rw-r--r--source3/smbd/server.c4
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) {