[jcifs] timezone problems
julian.reschke at gmx.de
Wed Mar 10 08:05:59 GMT 2004
Michael B Allen wrote:
> Julian Reschke said:
> <snip program>
> This below is what I get when I run your program with 0.8.1. Is this
> right, wrong or what? The SMB path smb://miallen3/tmp/ refers to /tmp
> which I assume is supposed to refer to the same directory?
> I do believe createFile was quite broken in b1. Maybe that factors into
> this somehow?
> Pls advise,
> [miallen at miallen3 jcifs]$ java -Djcifs.properties=../miallen.prp
> TestTimeStamps smb://miallen3/tmp/ /tmp/
> == TIMEZONE INFO ==
> Default TimeZone is:
> == JAVA.IO.FILE INFO ==
> setting to: 961632000000
> file summer lastmod: 961632000000 11130 Wed Jun 21 20:00:00 EDT 2000
> setting to: 946080000000
> file winter lastmod: 946080000000 10950 Fri Dec 24 19:00:00 EST 1999
> == JCIFS.SMB.SMMFILE INFO ==
> smb summer lastmod: 961632000000 11130 Wed Jun 21 20:00:00 EDT 2000
> smb winter lastmod: 946080000000 10950 Fri Dec 24 19:00:00 EST 1999
This is the expected output (the one I'm getting with JCifs running on
Linux, talking to a Samba share on the same machine).
(Which version of Samba was this -- do I still need to test with
something newer that 2.2.0?)
The comparable setup on W2K produces the discrepancy.
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
More information about the jcifs