PDA

Bekijk de volledige versie : samba timestamp problem



Lionking
28-10-2004, 00:59
I run into the following problem:

WindowsXP: I copy one file from a local drive to a shared drive. Now the shared drive is show to me in the explorer with a timestamp which is 1h later! Is I check the date/time on the Asus it has the same timestamp as my local drive.

Windows2000: Same procedure. Now the shared drive has an identical timestamp. But if I am looking on the Asus, the time is 1h less than displayed in the windows browser.

/etc/TZ: "MEZ+1MESZ"

What could be wrong (timezone/daylight saving)?

Thx
Andreas

Antiloop
28-10-2004, 08:36
firmware version?

Styno
28-10-2004, 09:00
It seems to me you have different timezones configured on the Windows boxes.

brubber
29-10-2004, 02:24
Most likely it's a SAMBA / LINUX configuration issue. Check out this SAMBA faq for some background info:

http://www.ifsi.rm.cnr.it/italy/Samba/sambafaq-3.html (scroll to "3.6")

yato
31-10-2004, 18:56
Had a same problem. Seems our-old version Samba has problem handling summer time. I solved this by setting TZ enviroment variable to UTC when invoking Samba in post-boot. Like this:

TZ=GMT-0 /usr/sbin/nmbd -D
TZ=GMT-0 /usr/sbin/smbd -D
This solved things during the summer time and works still even now, when time is back the "winter time" :) .

Edit: My "normal" timezone is MEZ-1MESZ

Lionking
01-11-2004, 09:51
Starting with yesterday (daylight change) everthing works well again. Hmm. I think the problem will come again next year. But it has definetly something to do with the daylight save. But I will keep all the answers in my mind.
Thx to all ... Andi