summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-02-07 20:20:56 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:48 -0500
commit4901d7f10bdc34e6378964fc26aaee8289bf59e3 (patch)
tree55421135bc5a7b5c45264ee550801d463dee82df /source3/smbd
parentd1bb9b161fcfa0cfa4687d285706d6f15b6abcdd (diff)
downloadsamba-4901d7f10bdc34e6378964fc26aaee8289bf59e3.tar.gz
samba-4901d7f10bdc34e6378964fc26aaee8289bf59e3.tar.bz2
samba-4901d7f10bdc34e6378964fc26aaee8289bf59e3.zip
r21225: Couple of fixes from Martin Zielinski mz@seh.de,
one typo, one to make sure that time initialization is done before modules that depend on it (printer initialization). Jeremy. (This used to be commit 6df32b4a6a9abd40e963c188b4c8769f15a0ab9b)
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/server.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 5a3ae7f374..ab32d656d3 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -852,6 +852,8 @@ extern void build_options(BOOL screen);
load_case_tables();
+ TimeInit();
+
#ifdef HAVE_SET_AUTH_PARAMETERS
set_auth_parameters(argc,argv);
#endif
@@ -1102,9 +1104,6 @@ extern void build_options(BOOL screen);
/* Setup aio signal handler. */
initialize_async_io_handler();
- /* re-initialise the timezone */
- TimeInit();
-
/* register our message handlers */
message_register(MSG_SMB_FORCE_TDIS, msg_force_tdis, NULL);