Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-07-08 | s3: Remove is_ntfs_stream_name() and split_ntfs_stream_name() | Tim Prouty | 2 | -49/+3 | |
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 | 9 | -339/+417 | |
2009-07-08 | s3: convert unix_mode to take an smb_filename | Tim Prouty | 3 | -18/+49 | |
2009-07-08 | Rename update_stat_ex_writetime() -> update_stat_ex_mtime() | Jeremy Allison | 3 | -6/+6 | |
to better describe what we're doing here. Jeremy | |||||
2009-07-08 | The migration to struct stat_ex broke the calculation of | Jeremy Allison | 3 | -10/+57 | |
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-07 | s3: Migrate a few functions in open.c to take smb_filename | Tim Prouty | 1 | -13/+15 | |
2009-07-07 | s3: Remove unnecessary const qualifiers | Tim Prouty | 1 | -3/+2 | |
2009-07-07 | s3:smbd: cancel all locks that are made before the first failure | Stefan Metzmacher | 1 | -6/+6 | |
s3:smbd: cancel all locks that are made before the first failure We never reached the cleanup code and directly returned the error. metze | |||||
2009-07-06 | s3 smb2: Fix unused variable warning | Tim Prouty | 1 | -1/+0 | |
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_NTIMES | Tim Prouty | 4 | -126/+119 | |
2009-07-06 | s3 sticky write time: Removed unused args and tighten up a function by ↵ | Tim Prouty | 2 | -7/+5 | |
making an arg const | |||||
2009-07-06 | s3: Plumb smb_filename around SMB_VFS_CHFLAGS | Tim Prouty | 6 | -99/+115 | |
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 | 4 | -12/+11 | |
2009-07-06 | s3: Add ability to pass NULL to filename_convert for the char *fname | Tim Prouty | 1 | -7/+11 | |
The goal is to eventually remove the need for the char **fname argument once all callers have standardized on smb_filename. | |||||
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_UNLINK | Tim Prouty | 4 | -160/+280 | |
2009-07-06 | s3: Plumb smb_filename through SMB_VFS_RENAME | Tim Prouty | 2 | -114/+248 | |
2009-07-03 | For non-existent streams we have to return OBJECT_NAME_NOT_FOUND | Volker Lendecke | 1 | -1/+1 | |
See the STREAMERROR s3 torture test. Jeremy, Tim, please check! | |||||
2009-07-02 | s3:smbd: add marshalling layer for SMB2 Lock support | Stefan Metzmacher | 3 | -1/+231 | |
metze | |||||
2009-07-02 | s3:smbd: add marshalling layer for SMB2 Find (QueryDirectory) support | Stefan Metzmacher | 3 | -1/+264 | |
metze | |||||
2009-07-02 | s3:smbd: add marshalling layer for SMB2 Break support (SMB 2.002 only) | Stefan Metzmacher | 3 | -1/+216 | |
metze | |||||
2009-07-02 | s3:smbd: add marshalling layer for SMB2 SetInfo support | Stefan Metzmacher | 3 | -1/+221 | |
metze | |||||
2009-07-02 | s3:smbd: add marshalling layer for SMB2 GetInfo support | Stefan Metzmacher | 3 | -1/+260 | |
metze | |||||
2009-07-02 | s3:smbd: add support for SMB2 Notify | Stefan Metzmacher | 3 | -1/+377 | |
metze | |||||
2009-07-02 | s3:smbd: make change_notify_reply() more generic and hide send_nt_replies() ↵ | Stefan Metzmacher | 2 | -14/+33 | |
behind a callback This prepares change notify support for SMB2. metze | |||||
2009-07-02 | s3:smbd: simplify the notify code a bit and always reply via ↵ | Stefan Metzmacher | 2 | -34/+27 | |
change_notify_reply() -> send_nt_replies() metze | |||||
2009-07-02 | s3:smbd: push nttrans and trans2 responses with no data to the client | Stefan Metzmacher | 2 | -0/+16 | |
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-02 | s3:smbd: restore the 3.0.x bahavior of send_nt_replies() | Stefan Metzmacher | 1 | -0/+5 | |
We should also set the error code, when we return no parameters or data. metze | |||||
2009-07-02 | s3:smbd: move global notify_changes_by_mid to smbd_server_connection | Stefan Metzmacher | 3 | -7/+8 | |
metze | |||||
2009-07-02 | s3:smbd: allow the offset to the path being 0 in SMB2 create | Stefan Metzmacher | 1 | -1/+3 | |
metze | |||||
2009-07-01 | Ensure we don't use delayed writes on POSIX opened files. | Jeremy Allison | 2 | -0/+15 | |
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-07-01 | s3:smbd: remove unused variables passed to parent_dirname() | Stefan Metzmacher | 2 | -5/+3 | |
metze | |||||
2009-06-29 | s3:fix build of old linux quota system and other unixes' quota implementation | Michael Adam | 1 | -14/+14 | |
By fixing the use of struct stat_ex. Michael | |||||
2009-06-27 | Stop listening for inotify data when there's none | Volker Lendecke | 1 | -0/+1 | |
There have been some reports that we're flooding syslog with "No data on inotify fd?!". I haven't been able to reproduce this yet. Until then, it is better to just list this message once. | |||||
2009-06-27 | Fix some nonempty blank lines | Volker Lendecke | 1 | -9/+9 | |
2009-06-27 | s3/lanman: Workaround for KB932762. | Volker Lendecke | 1 | -0/+1 | |
This addresses bug #6498. | |||||
2009-06-25 | s3: pass a valid stat into file_ntimes() | Tim Prouty | 2 | -3/+3 | |
file_ntimes() calls can_write_to_file() which expects a valid stat struct | |||||
2009-06-25 | s3 file_access: Convert some more functions over to use smb_filneame | Tim Prouty | 5 | -42/+62 | |
2009-06-25 | s3: simplify some redundant logic in is_ntfs_default_stream_smb_fname() | Tim Prouty | 1 | -5/+1 | |
2009-06-25 | s3: Remove get_full_smb_filename() from open_directory() | Tim Prouty | 1 | -19/+9 | |
This is possible because open_directory() returns an error if the fname is a stream, so the base_name can be used. | |||||
2009-06-25 | s3: Change set_ea() and its callers to use smb_filename | Tim Prouty | 2 | -14/+17 | |
2009-06-25 | Fix bug #6506 - SMBD server doesn't set EAs when a file is overwritten in ↵ | Jeremy Allison | 1 | -1/+2 | |
NT_TRANSACT_CREATE. Reported and verified by Long Li <longli@microsoft.com> Jeremy. | |||||
2009-06-24 | s3: Plumb smb_filename through SMB_VFS_STAT and SMB_VFS_LSTAT | Tim Prouty | 15 | -383/+573 | |
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-24 | s3: Convert is_visible_file to use talloc_asprintf instead of malloc | Tim Prouty | 1 | -14/+15 | |
2009-06-24 | s3:smbd: send SMB2 interim responses for async calls | Stefan Metzmacher | 5 | -0/+25 | |
metze | |||||
2009-06-24 | s3:smbd: add support for async interim SMB2 responses and prepare SMB2 cancel | Stefan Metzmacher | 2 | -1/+157 | |
metze | |||||
2009-06-24 | s3:smbd: keep a list of outstanding SMB2 requests | Stefan Metzmacher | 2 | -28/+69 | |
metze | |||||
2009-06-24 | s3:smbd: add smbd_smb2_send_oplock_break() | Stefan Metzmacher | 2 | -0/+93 | |
metze | |||||
2009-06-24 | s3:smbd: the SMB2-COMPOUND test shows that the related vs. unrelated flags ↵ | Stefan Metzmacher | 1 | -0/+7 | |
isn't checked first metze | |||||
2009-06-22 | s3: forward MSG_DEBUG from smbd parent to all children | Aravind Srinivasan | 2 | -14/+34 | |
Before 3.3, an smbcontrol debug message sent to the target "smbd" would actually be sent to all running processes including nmbd and winbindd. This behavior was changed in 3.3 so that the "smbd" target would only send a message to the process found in smbd.pid, while the "all" target would send a message to all processes. The ability to set the debug level of all processes within a single daemon, without specifying each pid is quite useful. This was implemented in winbindd in 065760ed. This patch does the same thing for smbd. Upon receiving a MSG_DEBUG the parent smbd will rebroadcast it to all of its children. The printing process has been added to the list of smbd child processes, and we now always track the number of smbd children regardless of the "max smbd processes" setting. |