Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-24 | s3: Allow filename_convert() to pass through unix_convert_flags and let the ↵ | Tim Prouty | 1 | -0/+10 | |
caller know if the path has a wildcard This also eliminates the need for resolve_dfspath(). | |||||
2009-07-22 | s3: Convert some callers of vfs_stat_smb_fname to SMB_VFS_STAT() | Tim Prouty | 1 | -9/+19 | |
2009-07-21 | s3: plumb smb_filename through some of the trans2 posix_* functions | Tim Prouty | 1 | -60/+38 | |
2009-07-21 | s3: Remove unnecessary callers of get_full_smb_filename | Tim Prouty | 1 | -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 | |||||
2009-07-21 | s3: Remove the now unused fname parameter from filename_convert() | Tim Prouty | 1 | -10/+5 | |
2009-07-21 | s3: Remove unnecessary fname argument from callers of filename_convert | Tim Prouty | 1 | -9/+14 | |
2009-07-21 | s3: Plumb smb_filename through map_open_params_to_ntcreate | Tim Prouty | 1 | -6/+4 | |
2009-07-20 | s3: Change fsp->fsp_name to be an smb_filename struct! | Tim Prouty | 1 | -35/+35 | |
2009-07-17 | Fix Coverity CID 928. Removed check as this can never be null. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
2009-07-17 | Fix Coverity CID 929. Potential NULL deref after code refactoring. | Jeremy Allison | 1 | -0/+5 | |
Jeremy. | |||||
2009-07-17 | Fix coverity CID 930. Pointer check can never be null here. | Jeremy Allison | 1 | -1/+1 | |
Jeremy | |||||
2009-07-17 | Fix coverity CID 931. This check is redundent as smb_fname can | Jeremy Allison | 1 | -1/+1 | |
never be null in this function. Jeremy. | |||||
2009-07-15 | s3:smbd: try to fix a compiler warning on i386 : left shift count >= width ↵ | Stefan Metzmacher | 1 | -1/+1 | |
of type metze | |||||
2009-07-15 | s3:smbd: check quota access against sec_initial_uid() instead of 0 | Stefan Metzmacher | 1 | -6/+6 | |
And return an NTSTATUS mapped from errno. Instead of hardcoded values. metze | |||||
2009-07-13 | Fix set_posix_lock check which had been reversed in the recent | Jeremy Allison | 1 | -1/+1 | |
changes. Jeremy. | |||||
2009-07-13 | s3:smbd: make smbd_do_qfsinfo() non static for use in SMB2 GetInfo | Stefan Metzmacher | 1 | -8/+8 | |
metze | |||||
2009-07-13 | s3:smbd: split out smbd_do_qfsinfo() from call_trans2qfsinfo() | Stefan Metzmacher | 1 | -79/+93 | |
metze | |||||
2009-07-13 | s3:smbd: make smbd_do_setfilepathinfo() non static for use in SMB2 SetInfo | Stefan Metzmacher | 1 | -8/+8 | |
metze | |||||
2009-07-13 | s3:smbd: split out smbd_do_setfilepathinfo() from call_trans2setfilepathinfo() | Stefan Metzmacher | 1 | -188/+216 | |
metze | |||||
2009-07-12 | s3:smbd: add support for marshalling SMB2 FileFullEaInformation | Stefan Metzmacher | 1 | -0/+92 | |
metze | |||||
2009-07-12 | s3:smbd: add support for marshalling SMB2 FileAllInformation | Stefan Metzmacher | 1 | -0/+36 | |
metze | |||||
2009-07-12 | s3:smbd: filter out SMB2 specific private query info levels for SMB1 | Stefan Metzmacher | 1 | -0/+9 | |
metze | |||||
2009-07-12 | s3:smbd: make smbd_do_qfilepathinfo() non static for use in SMB2 | Stefan Metzmacher | 1 | -15/+15 | |
metze | |||||
2009-07-12 | s3:smbd: split calculation and mashalling of file index and access_mask | Stefan Metzmacher | 1 | -13/+19 | |
metze | |||||
2009-07-12 | s3:smbd: split out smbd_do_qfilepathinfo() from call_trans2qfilepathinfo() | Stefan Metzmacher | 1 | -459/+504 | |
This prepares SMB2 GetInfo. metze | |||||
2009-07-12 | s3:smbd: add missing return after reply_nterror() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2009-07-10 | Remove reply_unixerror() - no longer needed. Should make Metze's refactoring ↵ | Jeremy Allison | 1 | -19/+18 | |
a lot easier. Jeremy. | |||||
2009-07-08 | s3 plumb smb_filename through smb_set_file_allocation_info() | Tim Prouty | 1 | -23/+12 | |
2009-07-08 | s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name() | Tim Prouty | 1 | -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. | |||||
2009-07-08 | s3: Plumb smb_filename through dos_mode() and related funtions | Tim Prouty | 1 | -56/+64 | |
2009-07-08 | Rename update_stat_ex_writetime() -> update_stat_ex_mtime() | Jeremy Allison | 1 | -2/+2 | |
to better describe what we're doing here. Jeremy | |||||
2009-07-08 | The migration to struct stat_ex broke the calculation of | Jeremy Allison | 1 | -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 | |||||
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_NTIMES | Tim Prouty | 1 | -71/+65 | |
2009-07-06 | s3 sticky write time: Removed unused args and tighten up a function by ↵ | Tim Prouty | 1 | -3/+2 | |
making an arg const | |||||
2009-07-06 | s3: Plumb smb_filename around SMB_VFS_CHFLAGS | Tim Prouty | 1 | -3/+14 | |
SMB_VFS_CHFLAGS isn't actually getting the smb_filename struct for now since it only operates on the basefile. This is the strategy for all path-based operations that will never actually operate on a stream. By clarifying the meaning of path based operations that don't take an smb_filename struct, modules that implement streams such as vfs_onefs no longer need to implement SMB_VFS_CHFLAGS to ensure it's only called on the base_name. | |||||
2009-07-06 | s3: Change some filename_convert to pass in NULL for char **fname argument | Tim Prouty | 1 | -2/+2 | |
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_UNLINK | Tim Prouty | 1 | -78/+105 | |
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_RENAME | Tim Prouty | 1 | -10/+38 | |
2009-07-02 | s3:smbd: push nttrans and trans2 responses with no data to the client | Stefan Metzmacher | 1 | -0/+8 | |
For sync replies it's not a problem, as construct_reply() will send the response, but for async replies we would not send the reply to the client. Currently the notify code works arround this manually, so I assume we didn't have a bug here. But the next commits will simplify the notify code. metze | |||||
2009-07-01 | Ensure we don't use delayed writes on POSIX opened files. | Jeremy Allison | 1 | -0/+5 | |
Don't remove pending writetime changes if no time changes are sent in UNIX_BASIC infolevel. Jeremy | |||||
2009-07-01 | Fix bug #6520 time stamps - e.g. last mod time is not preserved when "unix ↵ | Jeremy Allison | 1 | -3/+31 | |
extensions=yes" are set - and using latest cifs vfs client Cancel out any pending "sticky" writes or "last write" changes when doing a UNIX info level set. Jeremy. | |||||
2009-06-25 | s3: pass a valid stat into file_ntimes() | Tim Prouty | 1 | -1/+1 | |
file_ntimes() calls can_write_to_file() which expects a valid stat struct | |||||
2009-06-25 | s3: Change set_ea() and its callers to use smb_filename | Tim Prouty | 1 | -5/+15 | |
2009-06-24 | s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT | Tim Prouty | 1 | -55/+109 | |
This patch introduces two new temporary helper functions vfs_stat_smb_fname and vfs_lstat_smb_fname. They basically allowed me to call the new smb_filename version of stat, while avoiding plumbing it through callers that are still too inconvenient. As the conversion moves along, I will be able to remove callers of this, with the goal being to remove all callers. There was also a bug in create_synthetic_smb_fname_split (also a temporary utility function) that caused it to incorrectly handle filenames with ':'s in them when in posix mode. This is now fixed. | |||||
2009-06-18 | Replace the boilerplate calls to : | Jeremy Allison | 1 | -109/+45 | |
resolve_dfspath() -> unix_convert() -> get_full_smb_filename() -> check_name() with a new function filename_convert(). This restores the check_name() calls that had gone missing since the default create_file was changed. All "standard" pathname processing now goes through filename_convert(). I'll take a look at the non-standard pathname processing next. As a benefit, fixed a missing resolve_dfspath() in the trans2 mkdir call. Jeremy. | |||||
2009-06-16 | Fix msdfs after the change to smb_filename struct. We must *always* | Jeremy Allison | 1 | -6/+23 | |
pull the pathname, then call resolve_dfspath(), before unix_convert(). Jeremy. | |||||
2009-06-12 | s3: Plumb smb_filename through SMB_VFS_CREATE_FILE | Tim Prouty | 1 | -32/+64 | |
2009-06-10 | s3: Prepare the first set of SMB_VFS_CREATE_FILE callers to take an ↵ | Tim Prouty | 1 | -17/+13 | |
smb_filename struct Some of the callers required minimal changes, while others (copy_internals) required significant changes. The task is simplified a little bit because we are able to do operations and checks on the base_name when a stream isn't used. This patch should cause no functional changes. Volker, Jeremy: Please check | |||||
2009-06-10 | s3: Make all callers of SMB_VFS_CREATEFILE call unix_convert first | Tim Prouty | 1 | -23/+35 | |
This step is a requirement to change SMB_VFS_CREATEFILE to take an smb_filename struct. | |||||
2009-06-03 | s3:smbd: move some session specific globals to struct smbd_server_connection | Stefan Metzmacher | 1 | -0/+2 | |
metze |