summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/server.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index 3867240241..095bc00e08 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -4776,6 +4776,9 @@ static void process(void)
}
#endif
+ /* re-initialise the timezone */
+ TimeInit();
+
while (True)
{
int deadtime = lp_deadtime()*60;