I've posted this problems before but have some new information. Suse 9.1, kernel 2.6.5-7.111-smp, reiserfs, SAMBA 3.0.9 (just upgraded to 3.0.20 today), OpenLDAP backend, as a PDC. I've had a series of files get created in user profiles with a mtime of Dec 13, 1901 14:45. 'stat -c %Y' reports -2147483648. When a user attempts to delete these files from their profile and then log out, the file does not get deleted from the server copy of the profile. I figured out that this was because SAMBA represents this date to Windows as Jan 2038 so it thinks the server copy has a newer file in it. I suspected this was a Windows problem, but it appears in every version of Windows, not just XP. If I touch the file and give it any other date, Say Dec 14, 1901 14:45, Windows correctly displays that date. This is not a filesystem problem, fscheck is clean as a whistle, this must be a SAMBA issue. I suspect that whatever problem causes the misrepresentation in date is also what causes the date to be wrong in the first place. Any help? Thanks
Danny Paul wrote:> I've had a series of files get created in user profiles with a mtime of Dec > 13, 1901 14:45. 'stat -c %Y' reports -2147483648.[...]> This is not a filesystem problem, fscheck is clean as a whistle, this must > be a SAMBA issue. I suspect that whatever problem causes the > misrepresentation in date is also what causes the date to be wrong in the > first place.Which application or which program is creating files with an empty mtime? Do you using xcopy bei any chance? A user of samba 3.15.pre2 has the same problem with a mapped network drive using xcopy to copy files from an novell server to the mapped drive. If the copying user is not the owner of a directory with already existing files and 'dos filemode = no' for the share, xcopy failes with 'access denied' while changing the mtime for the directory containing the files. der tom
The files are getting created on the client by all sorts of different methods, MS Word, Excel, Acrobat, or from an email attachment. It gets created on the server when the user logs out and the profile gets synchronized. Thanks for your reply - can you send me any information about the other people who have had similar problems? Thank you.
Danny Paul wrote:> Thanks for your reply - can you send me any information about the other > people who have had similar problems?http://lists.spline.inf.fu-berlin.de/mailman/htdig/eisfair/2005-September/084330.html You can find the mail address from Michael Ebersbach there. der tom