The Samba-Bugzilla – Bug 1091
file timestamp on samba share residing on zSeries Linux
Last modified: 2005-11-14 09:31:24 UTC
Hardware Environment: zSeries hardware, running 64 Bit Linux
Software Environment: SuSE Linux Enterprise Server 8 with service pack 3, samba
is installed as SuSE rpm package version 2.2.8a-97, client is windows 2000
advanced server with service pack
4, microsoft office (excel) 2002 with service pack 2
Linux on zSeries is providing samba shares to windows clients, the drives are
mapped using the "net use <drive>:" command
Steps to Reproduce:
1. on the samba share (on zSeries) reside two files: one excel file, one pdf
document (with normal timestamps: January 23, 2004 for the excel file and
October 13, 2003 for the pdf file)
2. from the windows 2000 client open the excel sheet and use "insert -> objects
-> Create from file" and use the pdf document and insert it into the execel sheet
3. even without saving the excel file, the timestamp of the pdf document changes!
in windows explorer there is no timestamp for the pdf file shown, in the
propertoes dialog of the file the "modified date" is January 1, 1601 !!!
in linux a "ls -la" shows a timestamp of May 28, 60056.
correct timestamps should be displayed
only appears on systems running on zSeries 64-Bit not on 31-Bit systems
Linux kernel is 2.4.21-75 as provided by SuSE
the problem is reproducable on a clean install of SLES 8 64-Bit on zSeries
I can provide the smb.conf file if needed.
Created attachment 406 [details]
Samba configuration file
Ok, officially, this bug will not be fixed because it is in 2.2. The problem
has been fixed in 3.0. If you need to have suse fix their RPMs, please contact
them. The problem can be found my comparing the 2.2.8a source,
source/lib/time.c:303 to 3.0 current source, same file, line 311. 3.0 takes
into account the possibility of a 64-bit time_t.
This is also a duplicate of #140.
*** This bug has been marked as a duplicate of 140 ***