Fix bug 6529 - Offline files conflict with Vista and Office 2003
commit1af0aa92b3f3467715f6ffbfedf66df1acc0a83c
authorJeremy Allison <jra@samba.org>
Sat, 22 Aug 2009 04:44:21 +0000 (21 21:44 -0700)
committerJeremy Allison <jra@samba.org>
Sat, 22 Aug 2009 04:44:21 +0000 (21 21:44 -0700)
treea151ed8cc04a4bea659b8d11484a197ca3b74b2c
parent47c7063dc62dc06d0cdd50e1946c088f8bf1ee1d
Fix bug 6529 - Offline files conflict with Vista and Office 2003
On filesystems that can't store less than one second timestamps,
round the incoming timestamp set requests so the client can't discover
that a time set request has been truncated by the filesystem.
Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0.
Jeremy
source3/include/proto.h
source3/include/smb.h
source3/lib/time.c
source3/smbd/open.c
source3/smbd/service.c
source3/smbd/trans2.c