Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 31 Dec 2005 00:16:27 +0100
From:      Gilbert Cao <hika@bsdmon.com>
To:        freebsd-questions@freebsd.org
Subject:   One hour offset with smbfs
Message-ID:  <20051230231627.GA15040@bsdmon.com>

next in thread | raw e-mail | index | archive | help

--jRHKVT23PllUwdXP
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi,

I just ran into a small problem with modification time with smbfs :
My smb client machine is a FreeBSD 6.0 with GMT+1.
My smb server machine is a FreeBSD 5.4 with also GMT+1.

I have noticed a one hour offset between a file's modification time when
I `ls -l file` from the smb client machine and the same file's
modification time when I `ls -l file` from the smb server machine.
That file stands in a smb shared directory, on the smb server.

More, I have noticed this, only for a datetime like 1st April, 2005.
For a datetime like 1st December 2005, the problem does not occur.

For example,
=66rom the smb client side, I see a modification time of
2005-04-01 00:00:00, and
=66rom the smb server side, I see a modification time of
2005-03-31 23:00:00.

When I do a `touch -t 200504010000.00 file` from the smb server side,
I see 2005-04-01 01:00:00, from the smb client side.
When I do a `touch -t 200504010000.00 file` from the smb client side,
I see 2005-03-31 23:00:00, from the smb server side.

It seems that it is only a matter with summer time.

Anyone know if something can be done about this ?
I guess the problem is on the smbfs client side ...

Thanks in advance.

--=20
--------------------------------
 (hika) Gilbert Cao
 http://www.miaouirc.com
  - MiaouIRC Project 2002-2003
 http://www.bsdmon.com
  - The BSD DMON Power to serve
 IRC : #miaule at IRCNET Network
--------------------------------

--jRHKVT23PllUwdXP
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDtb/KSyQfFTqAEpcRAmUhAJ9k91AtS4Hhr90TcJzdP0wU2Q8bJgCfdgGs
fKrGtpVsfHWhzaIdgZNcVXw=
=albS
-----END PGP SIGNATURE-----

--jRHKVT23PllUwdXP--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20051230231627.GA15040>