From d6270df748dcfd8d5a02c328518c2332da8fbed5 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 12 Aug 2009 13:00:54 -0700 Subject: Add "store create time" parameter (docs to follow) that stores the create time in the user.DosTimestamps EA. Jeremy. --- source3/smbd/nttrans.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/smbd/nttrans.c') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 9f4074c8656..03fdff3900e 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); -- cgit