summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/time.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/lib/time.c b/source3/lib/time.c
index bab80ad621..5fc6595b6f 100644
--- a/source3/lib/time.c
+++ b/source3/lib/time.c
@@ -94,6 +94,11 @@ init the time differences
void TimeInit(void)
{
serverzone = TimeZone(time(NULL));
+
+ if ((serverzone % 60) != 0) {
+ DEBUG(1,("WARNING: Your timezone is not a multiple of 1 minute.\n"));
+ }
+
DEBUG(4,("Serverzone is %d\n",serverzone));
}