Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-28 | s3: Add a new VFS op called SMB_VFS_TRANSLATE_NAME | Aravind Srinivasan | 5 | -24/+92 | |
This vop is designed to work in tandem with SMB_VFS_READDIR to allow vfs modules to make modifications to arbitrary filenames before they're consumed by callers. Subsequently the core directory enumeration code in smbd is now changed to free the memory that may be allocated in a module. This vop enables the new version of catia in the following patch. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-08-27 | s3:smbd: teach filename_convert() about fake files (2nd fix for bug #6642) | Stefan Metzmacher | 1 | -0/+11 | |
metze | |||||
2009-08-27 | s3:smbd: add is_fake_file_path() that takes only the raw path as string | Stefan Metzmacher | 1 | -14/+22 | |
metze | |||||
2009-08-27 | s3:streams: check for :$DATA only in the backend (fix bug #6642) | Stefan Metzmacher | 1 | -3/+0 | |
We need to allow "\\$Extend\\$Quota:$Q:$INDEX_ALLOCATION" to pass check_path(), so that the Quota Dialog works. metze | |||||
2009-08-26 | s3/smbd: open the share_info.tdb on startup instead of tconx | Steven Danneman | 1 | -0/+9 | |
This is a small performance optimization. Instead of opening the tdb on every smb connection in the forked child process, we now open it in the parent and share the fd. This also reduces the total fd usage in the system. | |||||
2009-08-24 | Help debug for bug 6651 - smbd SIGSEGV when breaking oplocks. | Jeremy Allison | 1 | -0/+4 | |
Should help track if we get invoked with an invalid fd from the signal handler. Jeremy. | |||||
2009-08-24 | Second attempt at fix for bug 6529 - Offline files conflict with Vista and ↵ | Jeremy Allison | 7 | -94/+62 | |
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 | Log debug message when hires timestamps are available on the | Jeremy Allison | 1 | -0/+4 | |
share. Jeremy. | |||||
2009-08-21 | Fix bug 6529 - Offline files conflict with Vista and Office 2003 | Jeremy Allison | 3 | -1/+27 | |
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-21 | Fix coverity CID: 932 - forward null. | Jeremy Allison | 1 | -2/+4 | |
Jeremy. | |||||
2009-08-19 | s3:smbd: implement SMB2 Find (Query Directory) | Stefan Metzmacher | 1 | -1/+197 | |
metze | |||||
2009-08-19 | s3:smbd: store a dirptr on the files_struct for SMB2 Query Directory | Stefan Metzmacher | 1 | -0/+4 | |
metze | |||||
2009-08-19 | s3:smbd: add a generic smbd_dirptr_lanman2_entry() function | Stefan Metzmacher | 2 | -46/+214 | |
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-19 | s3:smbd: implement all SMB2 Create contexts except "ExtA" | Stefan Metzmacher | 1 | -8/+217 | |
metze | |||||
2009-08-19 | s3:smbd: make smbd_check_open_rights() function non-static for use in SMB2 | Stefan Metzmacher | 2 | -8/+13 | |
metze | |||||
2009-08-19 | s3:smbd: parse context blobs in SMB2 Create | Stefan Metzmacher | 1 | -48/+150 | |
metze | |||||
2009-08-17 | s3:smbd: add support for canceling SMB2 Notify calls. | Stefan Metzmacher | 1 | -0/+17 | |
metze | |||||
2009-08-17 | s3:smbd: add smbd_notify_cancel_by_smbreq() | Stefan Metzmacher | 2 | -0/+23 | |
This function will be used by the SMB2 notify code. metze | |||||
2009-08-17 | s3:smbd: implement SMB2 Cancel correctly. | Stefan Metzmacher | 13 | -60/+32 | |
metze | |||||
2009-08-14 | s3:smbd: allow SMB2 Cancel to have the async flag set | Stefan Metzmacher | 1 | -6/+8 | |
metze | |||||
2009-08-14 | s3:smbd: fix parsing of the SMB2 body | Stefan Metzmacher | 1 | -5/+7 | |
Maybe there's no dynamic part on the wire. metze | |||||
2009-08-12 | Fix BASE-DELAYWRITE test by removing const from struct smb_filename | Jeremy Allison | 3 | -21/+21 | |
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 | 5 | -13/+106 | |
that stores the create time in the user.DosTimestamps EA. Jeremy. | |||||
2009-08-12 | libcli: move some common SMB and SMB2 stuff into libcli/smb/ | Stefan Metzmacher | 19 | -19/+19 | |
This will hold code that's shared between source3 and source4. metze | |||||
2009-08-12 | s3:smbd: as check_path_syntax() changes the string, we need to copy the ↵ | Stefan Metzmacher | 1 | -2/+8 | |
string before metze | |||||
2009-08-12 | s3:smbd: avoid 'goto out' in smbd_smb2_create_send() | Stefan Metzmacher | 1 | -20/+15 | |
metze | |||||
2009-08-12 | s3:smbd: make sure we don't call conn_free() with a NULL pointer for SMB2 | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-08-12 | s3:smbd: correctly invalidate vuids when SMB2 is used | Stefan Metzmacher | 2 | -0/+5 | |
metze | |||||
2009-08-10 | Ensure the fsp->fsp_name stat_ex struct is always | Jeremy Allison | 1 | -0/+1 | |
up to date after the open. Jeremy. | |||||
2009-08-10 | Refactor the use of create_time and change time to go | Jeremy Allison | 4 | -26/+66 | |
through functions. Will aid in making us pass RAW-SETFILEINFO. Jeremy. | |||||
2009-08-08 | s3:smbd: convert '\\' into '/' in SMB2 Create | Stefan Metzmacher | 1 | -0/+8 | |
metze | |||||
2009-08-08 | s3:smbd: rename conn => sconn for smbd_server_connection structs | Stefan Metzmacher | 15 | -118/+118 | |
This should avoid confusion between smbd_server_connection and connection_struct variables. metze | |||||
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 | 7 | -88/+135 | |
metze | |||||
2009-08-07 | s3:smbd: remove dirptr and dirpath from connection_struct | Stefan Metzmacher | 5 | -48/+46 | |
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-07 | s3:smbd: let get_dir_entry() use smbd_dirptr_get_entry() | Stefan Metzmacher | 1 | -139/+89 | |
metze | |||||
2009-08-07 | s3:smbd: add generic smbd_dirptr_get_entry() | Stefan Metzmacher | 2 | -0/+163 | |
metze | |||||
2009-08-07 | s3:smbd: conn_free_internal() can be static now | Stefan Metzmacher | 3 | -17/+17 | |
metze | |||||
2009-08-07 | s3:smbd: add a smbd_server_connection pointer to connection_struct | Stefan Metzmacher | 5 | -31/+35 | |
This can be NULL for faked connection structs used in the rpc server or printing code. metze | |||||
2009-08-07 | s3:smbd: don't ignore check_descend in get_dir_entry() | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2009-08-06 | s3: Fix a bug in renames of directories | Tim Prouty | 1 | -6/+19 | |
Recently code was added to match windows semantics of denying the rename of a directory if there are open files underneath it. This does partly match windows semantics, but it turns out the rename should be allowed if the open file handle is for the directory being renamed, or for a stream on the directory being renamed. This patch refines the check to better follow these rename semantics. | |||||
2009-08-06 | Remove a const warning. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. | |||||
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 | 2 | -5/+9 | |
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. |