summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index a0d448151f..fdc59f12c0 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -887,6 +887,13 @@ static void usage(char *pname)
if (!init_change_notify())
exit(1);
+ /* re-initialise the timezone */
+ TimeInit();
+
+ /* register our message handlers */
+ message_register(MSG_SMB_FORCE_TDIS, msg_force_tdis);
+ talloc_init_named("dummy!");
+
smbd_process();
uni_group_cache_shutdown();