diff options
author | Jeremy Allison <jra@samba.org> | 2009-08-12 13:00:54 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2009-08-12 13:00:54 -0700 |
commit | d6270df748dcfd8d5a02c328518c2332da8fbed5 (patch) | |
tree | 7e921433a6e293f54fac3c0405b42be36ff7ac78 /source3/smbd/nttrans.c | |
parent | 1ddd10b56aea663b06768638d83e3bdcfea9ec89 (diff) | |
download | samba-d6270df748dcfd8d5a02c328518c2332da8fbed5.tar.gz samba-d6270df748dcfd8d5a02c328518c2332da8fbed5.tar.bz2 samba-d6270df748dcfd8d5a02c328518c2332da8fbed5.zip |
Add "store create time" parameter (docs to follow)
that stores the create time in the user.DosTimestamps EA.
Jeremy.
Diffstat (limited to 'source3/smbd/nttrans.c')
-rw-r--r-- | source3/smbd/nttrans.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 9f4074c865..03fdff3900 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -596,10 +596,10 @@ void reply_ntcreate_and_X(struct smb_request *req) } /* Create time. */ - create_timespec = get_create_timespec(fsp, smb_fname); + create_timespec = get_create_timespec(conn, fsp, smb_fname); a_timespec = smb_fname->st.st_ex_atime; m_timespec = smb_fname->st.st_ex_mtime; - c_timespec = get_change_timespec(fsp, smb_fname); + c_timespec = get_change_timespec(conn, fsp, smb_fname); if (lp_dos_filetime_resolution(SNUM(conn))) { dos_filetime_timespec(&create_timespec); @@ -1094,10 +1094,10 @@ static void call_nt_transact_create(connection_struct *conn, } /* Create time. */ - create_timespec = get_create_timespec(fsp, smb_fname); + create_timespec = get_create_timespec(conn, fsp, smb_fname); a_timespec = smb_fname->st.st_ex_atime; m_timespec = smb_fname->st.st_ex_mtime; - c_timespec = get_change_timespec(fsp, smb_fname); + c_timespec = get_change_timespec(conn, fsp, smb_fname); if (lp_dos_filetime_resolution(SNUM(conn))) { dos_filetime_timespec(&create_timespec); |