Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-14 | Fix bug 6494 - Incorrect FileStatus returned in NT_CREATE_ANDX. | Jeremy Allison | 1 | -2/+8 | |
Lookup the EA and Stream status on CreateX. Jeremy. | |||||
2009-09-09 | s3:smbd: Add a "hidden" parameter "share:fake_fscaps" | Volker Lendecke | 1 | -0/+3 | |
This is needed to support some special app I've just come across where I had to set the SPARSE_FILES bit (0x40) to make it work against Samba at all. There might be others to fake. This is definitely a "Don't touch if you don't know what you're doing" thing, so I decided to make this an undocumented parametric parameter. I know this sucks, so feel free to beat me up on this. But I don't think it will hurt. | |||||
2009-08-24 | Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵ | Jeremy Allison | 1 | -59/+47 | |
Office 2003. Confirmation from reporter that this fixes the issue in master on ext3/ext4. Back-ports to follow. Jeremy. | |||||
2009-08-24 | Second part of fix for 6529 - Offline files conflict with Vista and Office 2003. | Jeremy Allison | 1 | -0/+11 | |
ext4 may be able to store ns timestamps, but the only API to *set* timestamps takes usec, not nsec. Round to usec on set requests. Jeremy. | |||||
2009-08-21 | Fix bug 6529 - Offline files conflict with Vista and Office 2003 | Jeremy Allison | 1 | -0/+9 | |
On filesystems that can't store less than one second timestamps, round the incoming timestamp set requests so the client can't discover that a time set request has been truncated by the filesystem. Needs backporting to 3.4, 3.3, 3.2 and (even) 3.0. Jeremy | |||||
2009-08-19 | s3:smbd: add a generic smbd_dirptr_lanman2_entry() function | Stefan Metzmacher | 1 | -46/+193 | |
This can we used by SMB2, the key difference between SMB1 and SMB2 is that with SMB2 entries are aligned to 8 bytes and there's no padding at the end of the last entry. metze | |||||
2009-08-12 | Fix BASE-DELAYWRITE test by removing const from struct smb_filename | Jeremy Allison | 1 | -20/+18 | |
in smbd_do_qfilepathinfo(). update_stat_ex_mtime() modifies the stat struct inside the smb_fname so don't make a copy of that stat struct, use it directly - it's meant to be updated and represent the state of the file we're returning. Jeremy. | |||||
2009-08-12 | Add "store create time" parameter (docs to follow) | Jeremy Allison | 1 | -4/+5 | |
that stores the create time in the user.DosTimestamps EA. Jeremy. | |||||
2009-08-10 | Refactor the use of create_time and change time to go | Jeremy Allison | 1 | -15/+23 | |
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy. | |||||
2009-08-07 | Move the checks for null timestamps down below the VFS_NTIMES | Jeremy Allison | 1 | -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. | |||||
2009-08-07 | Correctly send out notify messages for timestamp changes. | Jeremy Allison | 1 | -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. | |||||
2009-08-07 | s3:smbd: split the dir entry marshalling into smbd_marshall_dir_entry() | Stefan Metzmacher | 1 | -443/+482 | |
So that we can reuse it for SMB2 Find. metze | |||||
2009-08-07 | s3:smbd: move dptr globals into struct smbd_server_connection | Stefan Metzmacher | 1 | -10/+13 | |
metze | |||||
2009-08-07 | s3:smbd: remove dirptr and dirpath from connection_struct | Stefan Metzmacher | 1 | -22/+24 | |
They're both only used in the context of a function, so we can make them stack variables. metze | |||||
2009-08-07 | s3:smbd: implement get_lanman2_dir_entry() on top of smbd_dirptr_get_entry() | Stefan Metzmacher | 1 | -229/+215 | |
metze | |||||
2009-08-06 | Put SMB_INFO_STANDARD back into setfileinfo, but do it right | Jeremy Allison | 1 | -0/+45 | |
this time :-). Jeremy. | |||||
2009-07-31 | We're not changing last write, but setting this to be ↵ | Jeremy Allison | 1 | -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. | |||||
2009-07-30 | Tidy up treatment of ctime. | Jeremy Allison | 1 | -5/+7 | |
Jeremy. | |||||
2009-07-30 | Fix bug #6529 - Offline files conflict with Vista and Office 2003. | Jeremy Allison | 1 | -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. | |||||
2009-07-30 | Remove the extraneous logic in smb_set_info_standard - we | Jeremy Allison | 1 | -26/+8 | |
do the time twiddling logic at the smb_set_file_time level. Jeremy. | |||||
2009-07-30 | SMB_INFO_STANDARD is not a valid info level on set, | Jeremy Allison | 1 | -42/+0 | |
and was being read incorrectly anyway. Remove. Jeremy. | |||||
2009-07-24 | s3: Convert a few callers of unix_convert() over to filename_convert() | Tim Prouty | 1 | -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. | |||||
2009-07-24 | s3: Remove a few callers of get_full_smb_filename() | Tim Prouty | 1 | -24/+50 | |
2009-07-24 | s3: Simplify rename_internals() by passing in smb_filename structs | Tim Prouty | 1 | -35/+36 | |
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 |