[Samba] File timestamps off one hour

Loren M. Lang lorenl at alzatex.com
Mon Mar 29 21:42:53 MDT 2010


Sorry, I forgot to hit reply all.


On Mon, Mar 29, 2010 at 02:49:26PM -0500, Dale Schroeder wrote:
> On 03/29/2010 9:49 AM, Gaiseric Vandal wrote:
>> I believe we are still in "Extended Daylight Savings" time (if you are  
>> in the USA.)     MS never released a patch to fix this for Windows 
>> 2000.
> But these guys did:  
> <http://www.intelliadmin.com/index.php/downloads/>http://www.intelliadmin.com/index.php/2007/01/unofficial-windows-2000-daylight-saving-time-patch/


I am seeing this issue on all Windows machines I have looked at.  Two
are Windows XP, one is Windows 2000.  I applied the above fix to the
Windows 2000 machine a few years ago.  Regardless, the XP machines
should not be affected by the above issue.  All Windows machines have
been rebooted at least once, most many more, since March 14 when DST
when into effect.  I am seeing this issue with every file modified
in-between DST rules.  All files are kept on an Ext3 filesystem on
Ubuntu Linux 8.10 and served to Windows using Samba 3.2.3.  I created
several test files modified at 12:00 PM on the 1st of every month from
Oct 2009 to April 2010.  DST rules ended on Nov 1 2009 at 2:00 AM and
began again March 14 2010 at 2:00 AM.  This files were created with
touch on Linux and the file modified times show correctly in Linux:

$ ls -ltr
total 0
-rw-r--r-- 1 user group 0 2009-10-01 12:00 oct
-rw-r--r-- 1 user group 0 2009-11-01 12:00 nov
-rw-r--r-- 1 user group 0 2009-12-01 12:00 dec
-rw-r--r-- 1 user group 0 2010-01-01 12:00 jan
-rw-r--r-- 1 user group 0 2010-02-01 12:00 feb
-rw-r--r-- 1 user group 0 2010-03-01 12:00 mar
-rw-r--r-- 1 user group 0 2010-04-01 12:00 apr

When viewed from a network drive in Windows the files nov, dec, jan, feb,
and mar show up as modified at 1:00 PM, an hour later than they should
be.  Files modified during DST rules regardless of year are correct.  As
a test, I modified the computer time of one of the Windows XP client to
be February 28, a few week before DST, and all files on the network
drive moved back one hour making oct and apr correct and the rest to
show up as 11:00 AM.  I also monitors files on C:\ which also moved back
one hour.

>
> Dale
>>
>> On 03/26/2010 07:10 PM, Felix Miata wrote:
>>> On 2010/03/26 15:53 (GMT-0700) Loren M. Lang composed:
>>>
>>>> I'm seeing timestamps off one hour in Windows 200 and XP clients that
>>>> were modified earlier this year before the +1 hour daylight savings
>>>> time.  They show correctly when views from the Ubuntu Linux Server
>>>> running Samba 3.2.3-1ubuntu3.8.  As a test, I created three files in
>>>> Linux at 00:13, 01:13, and 03:13.  I could not create a file during 
>>>> 2 am
>>>> as that time does not exist in the local timezone.  When I viewed  
>>>> though
>>>> files on Windows, they showed up as 01:13, 02:13, and 03:13,
>>>> respectively.
>>> Have those Windows systems been rebooted since the time change?
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>

-- 
Loren M. Lang
Alzatex, Inc.
lorenl at alzatex.com
http://www.alzatex.com/

----- End forwarded message -----

-- 
Loren M. Lang
Alzatex, Inc.
lorenl at alzatex.com
http://www.alzatex.com/


More information about the samba mailing list