summaryrefslogtreecommitdiffstats
path: root/source3/smbd/trans2.c
Commit message (Collapse)AuthorAgeFilesLines
...
* Add "store create time" parameter (docs to follow)Jeremy Allison2009-08-121-4/+5
| | | | | that stores the create time in the user.DosTimestamps EA. Jeremy.
* Refactor the use of create_time and change time to goJeremy Allison2009-08-101-15/+23
| | | | | through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy.
* Move the checks for null timestamps down below the VFS_NTIMESJeremy Allison2009-08-071-30/+3
| | | | | | layer (as it's done in onefs). This simplifies greatly the code in smb_set_file_time() w.r.t. changenotify messages. Jeremy.
* Correctly send out notify messages for timestamp changes.Jeremy Allison2009-08-071-5/+3
| | | | | | | "change time" has no notify message, so don't send anything out when we change it. Use FILE_NOTIFY_CHANGE_CREATION correctly when changing the create time. Jeremy.
* s3:smbd: split the dir entry marshalling into smbd_marshall_dir_entry()Stefan Metzmacher2009-08-071-443/+482
| | | | | | So that we can reuse it for SMB2 Find. metze
* s3:smbd: move dptr globals into struct smbd_server_connectionStefan Metzmacher2009-08-071-10/+13
| | | | metze
* s3:smbd: remove dirptr and dirpath from connection_structStefan Metzmacher2009-08-071-22/+24
| | | | | | | They're both only used in the context of a function, so we can make them stack variables. metze
* s3:smbd: implement get_lanman2_dir_entry() on top of smbd_dirptr_get_entry()Stefan Metzmacher2009-08-071-229/+215
| | | | metze
* Put SMB_INFO_STANDARD back into setfileinfo, but do it rightJeremy Allison2009-08-061-0/+45
| | | | | this time :-). Jeremy.
* We're not changing last write, but setting this to be ↵Jeremy Allison2009-07-311-1/+1
| | | | | | | | FILE_NOTIFY_CHANGE_CREATION doesn't work. So use FILE_NOTIFY_CHANGE_LAST_WRITE (now seems to reliably fix bug #6529 - Offline files conflict with Vista and Office 2003. Jeremy.
* Tidy up treatment of ctime.Jeremy Allison2009-07-301-5/+7
| | | | Jeremy.
* Fix bug #6529 - Offline files conflict with Vista and Office 2003.Jeremy Allison2009-07-301-0/+16
| | | | | | We need to send a notify message when a timestamp is changed that can't be reflected in the underlying POSIX filesystem. Jeremy.
* Remove the extraneous logic in smb_set_info_standard - weJeremy Allison2009-07-301-26/+8
| | | | | do the time twiddling logic at the smb_set_file_time level. Jeremy.
* SMB_INFO_STANDARD is not a valid info level on set,Jeremy Allison2009-07-301-42/+0
| | | | | and was being read incorrectly anyway. Remove. Jeremy.
* s3: Convert a few callers of unix_convert() over to filename_convert()Tim Prouty2009-07-241-19/+9
| | | | | | This patch also changes the unix convert flags to make sure the correct semantics are preservered for allowing/disallowing wildcards in the last component of the path.
* s3: Remove a few callers of get_full_smb_filename()Tim Prouty2009-07-241-24/+50
|
* s3: Simplify rename_internals() by passing in smb_filename structsTim Prouty2009-07-241-35/+36
|
* s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵Tim Prouty2009-07-241-0/+10
| | | | | | caller know if the path has a wildcard This also eliminates the need for resolve_dfspath().
* s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT()Tim Prouty2009-07-221-9/+19
|
* s3: plumb smb_filename through some of the trans2 posix_* functionsTim Prouty2009-07-211-60/+38
|
* s3: Remove unnecessary callers of get_full_smb_filenameTim Prouty2009-07-211-47/+34
| | | | | | | This often times means explicitly denying certain operations on a stream as they are not supported or don't make sense at a particular level. At some point in the future these can be enabled, but for now it's better to remove ambiguity
* s3: Remove the now unused fname parameter from filename_convert()Tim Prouty2009-07-211-10/+5
|
* s3: Remove unnecessary fname argument from callers of filename_convertTim Prouty2009-07-211-9/+14
|
* s3: Plumb smb_filename through map_open_params_to_ntcreateTim Prouty2009-07-211-6/+4
|
* s3: Change fsp->fsp_name to be an smb_filename struct!Tim Prouty2009-07-201-35/+35
|
* Fix Coverity CID 928. Removed check as this can never be null.Jeremy Allison2009-07-171-1/+1
| | | | Jeremy.
* Fix Coverity CID 929. Potential NULL deref after code refactoring.Jeremy Allison2009-07-171-0/+5
| | | | Jeremy.
* Fix coverity CID 930. Pointer check can never be null here.Jeremy Allison2009-07-171-1/+1
| | | | Jeremy
* Fix coverity CID 931. This check is redundent as smb_fname canJeremy Allison2009-07-171-1/+1
| | | | | never be null in this function. Jeremy.
* s3:smbd: try to fix a compiler warning on i386 : left shift count >= width ↵Stefan Metzmacher2009-07-151-1/+1
| | | | | | of type metze
* s3:smbd: check quota access against sec_initial_uid() instead of 0Stefan Metzmacher2009-07-151-6/+6
| | | | | | And return an NTSTATUS mapped from errno. Instead of hardcoded values. metze
* Fix set_posix_lock check which had been reversed in the recentJeremy Allison2009-07-131-1/+1
| | | | | changes. Jeremy.
* s3:smbd: make smbd_do_qfsinfo() non static for use in SMB2 GetInfoStefan Metzmacher2009-07-131-8/+8
| | | | metze
* s3:smbd: split out smbd_do_qfsinfo() from call_trans2qfsinfo()Stefan Metzmacher2009-07-131-79/+93
| | | | metze
* s3:smbd: make smbd_do_setfilepathinfo() non static for use in SMB2 SetInfoStefan Metzmacher2009-07-131-8/+8
| | | | metze
* s3:smbd: split out smbd_do_setfilepathinfo() from call_trans2setfilepathinfo()Stefan Metzmacher2009-07-131-188/+216
| | | | metze
* s3:smbd: add support for marshalling SMB2 FileFullEaInformationStefan Metzmacher2009-07-121-0/+92
| | | | metze
* s3:smbd: add support for marshalling SMB2 FileAllInformationStefan Metzmacher2009-07-121-0/+36
| | | | metze
* s3:smbd: filter out SMB2 specific private query info levels for SMB1Stefan Metzmacher2009-07-121-0/+9
| | | | metze
* s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2Stefan Metzmacher2009-07-121-15/+15
| | | | metze
* s3:smbd: split calculation and mashalling of file index and access_maskStefan Metzmacher2009-07-121-13/+19
| | | | metze
* s3:smbd: split out smbd_do_qfilepathinfo() from call_trans2qfilepathinfo()Stefan Metzmacher2009-07-121-459/+504
| | | | | | This prepares SMB2 GetInfo. metze
* s3:smbd: add missing return after reply_nterror()Stefan Metzmacher2009-07-121-0/+1
| | | | metze
* Remove reply_unixerror() - no longer needed. Should make Metze's refactoring ↵Jeremy Allison2009-07-101-19/+18
| | | | | | a lot easier. Jeremy.
* s3 plumb smb_filename through smb_set_file_allocation_info()Tim Prouty2009-07-081-23/+12
|
* s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name()Tim Prouty2009-07-081-1/+2
| | | | | Actually I moved split_ntfs_stream_name into torture.c which is the one consumer of it. This could probably be changed at some point.
* s3: Plumb smb_filename through dos_mode() and related funtionsTim Prouty2009-07-081-56/+64
|
* Rename update_stat_ex_writetime() -> update_stat_ex_mtime()Jeremy Allison2009-07-081-2/+2
| | | | | to better describe what we're doing here. Jeremy
* The migration to struct stat_ex broke the calculation ofJeremy Allison2009-07-081-10/+11
| | | | | | | | | | | | | | | | create time from the existing timestamps (for systems that need to do this). Once the write time is changed via a sticky write, the create time might need to be recalculated. To do this I needed to add a bool into struct stat_ex to remember if the st_ex_btime field was calculated, or read from the OS. Also fixed the returning of modified write timestamps in the return from NTCreateX, SMBattr and SMBattrE (which weren't taking into account the modified timestamp stored in the open file table). Attempting to fix an issue with Excel 2003 and offline files. Volker and Metze, please review. Jeremy
* s3: Plumb smb_filename through SMB_VFS_NTIMESTim Prouty2009-07-061-71/+65
|