Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
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. | |||||
2009-06-19 | Fix coverity #676. Forward NULL. | Jeremy Allison | 1 | -0/+6 | |
Jeremy. | |||||
2009-06-19 | Fix Coverity IDs 922 and 933 | Volker Lendecke | 1 | -2/+5 | |
In copy_internals(), if the !CAN_WRITE(conn) kicks in, we end up dereferencing a NULL smb_filename. This adds a simple protection around it. Tim, please check! Volker | |||||
2009-06-18 | Fix bug 4699: Remove pidfile on clean shutdown | Volker Lendecke | 1 | -0/+3 | |
2009-06-18 | acl_group_override() doesn't need to call stat. Pass this | Jeremy Allison | 1 | -28/+17 | |
down from above (as const). Jeremy. | |||||
2009-06-18 | Add some const to the stat struct in the dosmode calls. | Jeremy Allison | 6 | -83/+64 | |
Fix a couple more unix_convert uses to filename_convert. Fix bug in acl_group_override() where an uninitialized struct could be used. Move unix_convert with wildcard use in SMBsearch reply to boilerplate code. Jeremy. | |||||
2009-06-18 | Replace the boilerplate calls to : | Jeremy Allison | 5 | -268/+146 | |
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-17 | s3: Change SMB_VFS_OPEN to take an smb_filename struct | Tim Prouty | 3 | -7/+22 | |
This was a little messy because of all of the vfs modules I had to touch. Most of them were pretty straight forward, but the streams modules required a little attention to handle smb_filename. Since the use of smb_filename enables the vfs modules to access the raw, over-the-wire stream, a little bit of the handling that was being done by split_ntfs_stream_name has now been shifted into the individual stream modules. It may be a little more code, but overall it gives more flexibility to the streams modules, while also allowing correct stream handling. | |||||
2009-06-17 | s3: Plumb smb_filename from create_file all of the way down to fd_open | Tim Prouty | 3 | -196/+276 | |
I used the smb_filename struct everywhere that was feasible for the first pass. There are still some places in this path that need to be changed to use smb_filename, but this is a good start. I also: - Removed fname/path arguments from a few functions that weren't really using them. - Added a utility function for detecting whether an smb_filename is a stream. | |||||
2009-06-17 | Fix bug #6476 - more then 3000 smbd-zombies in memory | Jeremy Allison | 1 | -0/+12 | |
We weren't reaping children in the [x]inetd case. Jeremy. | |||||
2009-06-16 | Remove msdfs pathname processing from default create file. | Jeremy Allison | 1 | -25/+0 | |
No longer needed. Jeremy | |||||
2009-06-16 | Fix msdfs after the change to smb_filename struct. We must *always* | Jeremy Allison | 4 | -27/+138 | |
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 | 6 | -257/+234 | |
2009-06-12 | s3: Add smb_filename utility functions and fix a bug in copy_smb_filename | Tim Prouty | 1 | -5/+85 | |
2009-06-12 | Check for error in transfer_file return also. | Jeremy Allison | 1 | -1/+7 | |
Jeremy. | |||||
2009-06-12 | Fix bug 6440 | Volker Lendecke | 1 | -11/+19 | |
Don't ignore the close error of the output file in check_magic() | |||||
2009-06-12 | Simplify close_normal_file() | Volker Lendecke | 1 | -22/+21 | |
2009-06-11 | Fix bug #6297 - owner of sticky directory cannot delete files created by others. | Jeremy Allison | 1 | -2/+13 | |
The reason we couldn't delete was we were erroring out early if requestor was not the owner of the file we wanted to delete, instead of checking if the requestor owned the directory as well. If either of these is true, we must go on and check the ACL. Karolin, this is a must for 3.4.0 and also 3.3.next. I'll update the bug report with patches for 3.4.0 and 3.3.next and ask vl to review. Jeremy. | |||||
2009-06-11 | s3: Prepare the rename path for passing smb_filename to SMB_VFS_CREATE_FILE | Tim Prouty | 1 | -106/+133 | |
2009-06-11 | s3: Prepare the do_unlink path for passing smb_filname to SMB_VFS_CREATE_FILE | Tim Prouty | 1 | -72/+77 | |
2009-06-11 | s3: refactor utility function to handle splitting the directory from the mask | Tim Prouty | 1 | -11/+35 | |
2009-06-10 | s3: Prepare the first set of SMB_VFS_CREATE_FILE callers to take an ↵ | Tim Prouty | 4 | -157/+233 | |
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: Add utility function for copying an smb_filename struct | Tim Prouty | 1 | -0/+39 | |
2009-06-10 | s3: Remove unix_convert handling from createfile implementations | Tim Prouty | 1 | -29/+4 | |
2009-06-10 | s3: Make all callers of SMB_VFS_CREATEFILE call unix_convert first | Tim Prouty | 4 | -140/+209 | |
This step is a requirement to change SMB_VFS_CREATEFILE to take an smb_filename struct. | |||||
2009-06-10 | s3: Remove unused stat structs being passed to SMB_VFS_CREATE_FILE | Tim Prouty | 2 | -8/+2 | |
2009-06-09 | s3:smbd: only check the next_status for related requests | Stefan Metzmacher | 1 | -11/+12 | |
metze | |||||
2009-06-09 | s3:smbd: response with the same SMB2 flags as given by the client | Stefan Metzmacher | 1 | -1/+4 | |
...but also add the response flag. metze | |||||
2009-06-09 | s3:smbd: only pass the chained file handle for related compounded SMB2 requests | Stefan Metzmacher | 1 | -0/+4 | |
metze | |||||
2009-06-09 | s3:smbd: make sure we pad compounded SMB2 responses to 8 bytes | Stefan Metzmacher | 1 | -2/+47 | |
metze | |||||
2009-06-09 | s3:smbd: skip file handle checks for SMB2 compounded requests | Stefan Metzmacher | 5 | -6/+16 | |
metze | |||||
2009-06-09 | s3:smbd: more validation of the incoming SMB2 requests | Stefan Metzmacher | 2 | -4/+96 | |
metze | |||||
2009-06-09 | s3:smbd: for now ignore all non NBT Session Message requests for SMB2 | Stefan Metzmacher | 1 | -0/+9 | |
metze | |||||
2009-06-09 | s3:smbd: don't include 1 byte padding for the dynamic buffer of SMB2 responses | Stefan Metzmacher | 1 | -21/+9 | |
It seems that Windows 2008 and Windows 7 doesn't do this anymore. metze | |||||
2009-06-08 | Set SIGRTMIN to NSIG | Timur I. Bakeyev | 1 | -3/+0 | |
In the includes we define SIGRTMIN to 32 if it's not defined already. This value could be fairly low and it's better to use NSIG(number of defined signals) as the lower mark for the available signals. We have similar defenition in the source3/smbd/aio.c, which can be safely removed, as it comes from includes.h then. With regards, Timur Bakeyev. Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-06-06 | s3:smbd: FSCTL_PIPE_TRANSCEIVE on a none IPC$ share should give NOT_SUPPORTED | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-06-06 | s3:smbd: return the same things as Windows 7 for SMB2 Ioctl responses | Stefan Metzmacher | 1 | -7/+23 | |
metze | |||||
2009-06-05 | s3:smbd: split smbd_smb2_flush() into a tevent_req based _send()/_recv() pair | Stefan Metzmacher | 1 | -25/+97 | |
metze | |||||
2009-06-05 | s3:smbd: split smbd_smb2_create() into a tevent_req based _send()/_recv() pair | Stefan Metzmacher | 1 | -99/+199 | |
metze | |||||
2009-06-05 | s3:smbd: fix the build in smb2_ioctl.c | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-06-05 | s3:smbd: add support for SMB2 Ioctl FSCTL_DFS_GET_REFERRALS | Stefan Metzmacher | 1 | -0/+74 | |
metze | |||||
2009-06-05 | s3:smbd: add support for STATUS_BUFFER_OVERFLOW to SMB2 Ioctl | Stefan Metzmacher | 1 | -5/+10 | |
metze | |||||
2009-06-05 | s3:smbd: keep the chain_fsp for SMB2 requests | Stefan Metzmacher | 3 | -0/+5 | |
metze | |||||
2009-06-05 | s3:smbd: fix the logic for compounded requests | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2009-06-05 | s3:smbd: only setup the dyn iovec if a a dyn blob is given | Stefan Metzmacher | 1 | -2/+1 | |
Otherwise leave the default in there, which takes care of padding for compounded requests. metze |