diff options
author | Andrew Tridgell <tridge@samba.org> | 1997-11-01 07:22:18 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1997-11-01 07:22:18 +0000 |
commit | 03deca0070b3c7004963938b973519e9c56f2f5c (patch) | |
tree | 9e18aea12e8592f56862aec68198b314b46cb99d | |
parent | bc5e2a1289b6c80b9b7a1f3f45ed3897d4474c51 (diff) | |
download | samba-03deca0070b3c7004963938b973519e9c56f2f5c.tar.gz samba-03deca0070b3c7004963938b973519e9c56f2f5c.tar.bz2 samba-03deca0070b3c7004963938b973519e9c56f2f5c.zip |
re-initialise the timezone on each new connection. This means you
don't need to restart smbd after a DST change.
(This used to be commit 2a50d5d5ed4ca7d2b546d7337ec88c527ec82689)
-rw-r--r-- | source3/smbd/server.c | 3 |
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; |