Bug 3236 - smbd doesn't detect time change from daylight saving time
smbd doesn't detect time change from daylight saving time
Status: NEW
Product: Samba 3.0
Classification: Unclassified
Component: File Services
3.0.10
Sparc Solaris
: P3 minor
: none
Assigned To: Samba Bugzilla Account
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-11-03 03:00 UTC by Hans Randgaard (550 5.1.1 User unknown)
Modified: 2005-12-07 10:38 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 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 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 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 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.