Bug 3236 - smbd doesn't detect time change from daylight saving time
Summary: smbd doesn't detect time change from daylight saving time
Status: RESOLVED FIXED
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.10
Hardware: Sparc Solaris
: P3 minor
Target Milestone: none
Assignee: Samba Bugzilla Account
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 03:00 UTC by Hans Randgaard (550 5.1.1 User unknown)
Modified: 2024-01-07 12:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hans Randgaard (550 5.1.1 User unknown) 2005-11-03 03:00:26 UTC
Recently our time changed from Daylight Saving Time(DST) to "normal" time.
We have NTP running on all our systems and time actually changed on both our
Samba servers and out PC and Citrix clients. Thus they all have the right times.
However, smbd processes that was running before the time change still believes
that the time is DST.
The way we detected it was when we looked at the modification time of the
file/directory through Windows Explorer. Looking at the times(atime,mtime,ctime)
on UNIX(Solaris) it shows the right time(not DST).
When a new smbd connection is made the file/directory times are OK.

We currently use Samba-3.0.10, but I have looked in the release notes of the
subsequent releases and none of them address this issue.

Kind regards, Hans.
Comment 1 Mark Condic (dead mail address) 2005-12-04 21:34:38 UTC
I don't know exactly what changed in the lastest samba-3.0.21rc2-0.1, but I am using a windows 98 application called vice-versa, and now all of the time of existing files are one-hour off (so I can't time compare).  If I ls from linux they are ok.  This operation worked in samba-3.0.20b-2.1, and I don't see any changes in the log that would suggest that it is different.
Comment 2 Mark Condic (dead mail address) 2005-12-04 22:53:36 UTC
It appears that the day saving time fix has now changed all of the timestamps from windows applications 1 hour earlier.  Is there a parameter that I missed that addresses this?  Thanks.
Comment 3 Mark Condic (dead mail address) 2005-12-05 10:02:48 UTC
I don't know exactly what changed between samba-3.0.20b-2.1 and the lastest samba-3.0.21rc2-0.1, but I am using a windows 98 application called vice-versa, and now all of the time of existing files are one-hour off (so I can't time compare).  This operation worked in samba-3.0.20b-2.1 and in previous versions.
It appears that all of the timestamps from windows applications are 1 hour earlier.  Is there a parameter that I missed that addresses this?  Has anyone else experienced this?  I have checked from two different computers. Thanks.
Comment 4 Mark Condic (dead mail address) 2005-12-07 10:38:57 UTC
I can adjust the program to compensate.  I am just wondering if I missed a parameter, or if the operation changed in the last update.  Thanks.
Comment 5 Björn Jacke 2024-01-07 12:55:57 UTC
there once was a bug in ancient samba 3.0 times, where samba was using local time internally instead of UTC.