Remove "store create time" code, cause create time to be stored
commitc0a8bfa804d0738ead9235b222b90d06fd0c8b23
authorJeremy Allison <jra@samba.org>
Tue, 17 Nov 2009 22:55:02 +0000 (17 14:55 -0800)
committerKarolin Seeger <kseeger@samba.org>
Thu, 26 Nov 2009 10:40:58 +0000 (26 11:40 +0100)
tree8ba95bb46497f34c9d57fe5c55885057da4d72c3
parenta01053bd1a27d22b9d39a6e0efca72fcb2f91744
Remove "store create time" code, cause create time to be stored
in the "user.DOSATTRIB" EA. From the docs:
In Samba 3.5.0 and above the "user.DOSATTRIB" extended attribute has been extended to store
the create time for a file as well as the DOS attributes. This is done in a backwards compatible
way so files created by Samba 3.5.0 and above can still have the DOS attribute read from this
extended attribute by earlier versions of Samba, but they will not be able to read the create
time stored there. Storing the create time separately from the normal filesystem meta-data
allows Samba to faithfully reproduce NTFS semantics on top of a POSIX filesystem.
Passes make test but will need more testing.
Jeremy.
(cherry picked from commit a770caed0ff66ddc2d63ac83d20f4cd7fcc2caf5)
(cherry picked from commit d3b5eaa83a48388c49cc18ac094093609ed79762)
15 files changed:
docs-xml/smbdotconf/filename/storecreatetime.xml [deleted file]
docs-xml/smbdotconf/filename/storedosattributes.xml
source3/include/proto.h
source3/lib/system.c
source3/lib/time.c
source3/modules/onefs_open.c
source3/modules/vfs_default.c
source3/param/loadparm.c
source3/printing/printfsp.c
source3/smbd/dosmode.c
source3/smbd/nttrans.c
source3/smbd/open.c
source3/smbd/reply.c
source3/smbd/smb2_create.c
source3/smbd/trans2.c