re-initialise the timezone on each new connection. This means you
authorAndrew Tridgell <tridge@samba.org>
Sat, 1 Nov 1997 07:22:18 +0000 (07:22 +0000)
committerAndrew Tridgell <tridge@samba.org>
Sat, 1 Nov 1997 07:22:18 +0000 (07:22 +0000)
don't need to restart smbd after a DST change.
(This used to be commit 2a50d5d5ed4ca7d2b546d7337ec88c527ec82689)

source3/smbd/server.c

index 3867240241a04e5f31dfbdf1b6bd617fe272b220..095bc00e0835f420be3ef25a4038a3eb03a8dcdf 100644 (file)
@@ -4776,6 +4776,9 @@ static void process(void)
   }
 #endif    
 
+  /* re-initialise the timezone */
+  TimeInit();
+
   while (True)
   {
     int deadtime = lp_deadtime()*60;