Help!

[Samba] need help on daylight saving time issue.

 
  

Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Samba RSS
Next:  [RFC,PATCH] mutex: mutex_is_owner() helper  
Author Message
Yan Zhang
External


Since: Nov 04, 2009
Posts: 1



PostPosted: Wed Nov 04, 2009 11:10 am    Post subject: [Samba] need help on daylight saving time issue.
Archived from groups: linux>samba (more info?)

Hi,

I am in Australian. Now it is daylight saving time in Australian. I have daysaving time issue on samba client as below.

On AIX server, I get the following two files's modified time via command istat.
/zytest/file1 (Modified time: Fri Sep 18 12:07:37 EST 2009)
/zytest/file1 (Modified time: Sun Nov 1 13:42:16 EDT 2009)

On samba client Windows machine, the modified time is as follows

Name Size Type Date Modified
file1 1 KB File 18/09/2009 1:07 PM
file2 0 KB File 1/11/2009 1:42 PM

For file1, there is a 1 hour discrepancy on modified time shown on AIX server and samba client.

The file1 was modified before the daylight saving date began, while the file2 was modified after daylight saving date began.
The AIX timezone environment variable TZ is EET-10EETDT,M10.1.0/02:00,M4.1.0/03:00, which is correct.

I even upgraded samba from 3.0 to 3.4.2 on AIX 5.3, but the issue is persistent. Please shed light on how to solve this issue.


Best regards,


Yan Zhang

_________________________________________________________________
Get Hotmail on your iPhone Find out how here
http://windowslive.ninemsn.com.au/article.aspx?id=845706
--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Adam Nielsen
External


Since: Nov 10, 2005
Posts: 153



PostPosted: Thu Nov 05, 2009 7:10 am    Post subject: Re: [Samba] need help on daylight saving time issue. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

> On AIX server, I get the following two files's modified time via command istat.
> /zytest/file1 (Modified time: Fri Sep 18 12:07:37 EST 2009)
> /zytest/file1 (Modified time: Sun Nov 1 13:42:16 EDT 2009)

Note that file1 is in the EST timezone (GMT+10) and the second file1
(file2?) is in the EDT timezone (GMT+11 during daylight saving.)

> For file1, there is a 1 hour discrepancy on modified time shown on AIX server and samba client.

Not if you take into account the different timezones.

> The file1 was modified before the daylight saving date began, while the file2 was modified after daylight saving date began.
> The AIX timezone environment variable TZ is EET-10EETDT,M10.1.0/02:00,M4.1.0/03:00, which is correct.

Evidently your filesystem also stores the timezone, which is why the two
files have different timezones on them. It would seem that the current
behaviour is correct - file1, although modified before daylight saving
started, is being reported as though daylight saving was in effect at
the time.

Cheers,
Adam.

--
To unsubscribe from this list go to the following URL and read the
instructions: https://lists.samba.org/mailman/options/samba
Back to top
Display posts from previous:   
Post new topic   General Reply to Topic (not reply to a specific post)    Forums Home -> Samba All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum