Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-02-22 | s3: Explicitly handle inbuf in cli_smb_oplock_break_waiter_done | Volker Lendecke | 1 | -2/+3 | |
2010-02-22 | s3: Add a talloc_move for the inbuf to cli_smb_recv | Volker Lendecke | 1 | -3/+8 | |
2010-02-21 | s3: Avoid calling cli_alloc_mid twice in cli_smb_req_iov_send | Volker Lendecke | 1 | -1/+2 | |
I hate macros.... | |||||
2010-01-26 | s3:async_smb: remove unused variable | Björn Jacke | 1 | -2/+0 | |
2010-01-03 | s3: NT_STATUS_MORE_PROCESSING_REQUIRED is a valid sesssetup return value | Volker Lendecke | 1 | -9/+23 | |
2009-12-22 | s3: Restore correct timeouts for SMB requests | Volker Lendecke | 1 | -0/+5 | |
2009-12-22 | s3: Remove a pointless else branch | Volker Lendecke | 1 | -5/+3 | |
2009-12-22 | s3: Move smb_splice_chain to smbd/process.c, its only user | Volker Lendecke | 1 | -174/+0 | |
2009-05-24 | Add "err_on_readability" to writev_send | Volker Lendecke | 1 | -2/+2 | |
A socket where the other side has closed only becomes readable. To catch errors early when sitting in a pure writev, we need to also test for readability. | |||||
2009-05-18 | Fix broken pipe handling | Volker Lendecke | 1 | -2/+2 | |
Metze is right: If we have *any* error at the socket level, we just can not continue. Also, apply some defensive programming: With this async stuff someone else might already have closed the socket. | |||||
2009-05-19 | s3: tevent_req_poll() loops forever when pipe is broken | Bo Yang | 1 | -0/+8 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-05-13 | s3:libsmb: move read_smb_send/recv() static in async_smb.c | Stefan Metzmacher | 1 | -0/+87 | |
metze | |||||
2009-05-13 | s3:libsmb: let cli_smb_chain_send() also return NTSTATUS | Stefan Metzmacher | 1 | -9/+12 | |
metze | |||||
2009-05-13 | s3:libsmb: return NT_STATUS_CONNECTION_INVALID if the fd is -1 | Bo Yang | 1 | -5/+7 | |
This way we can destinguish between requests which failed because the connection broke after they were triggered and the requests which are started on an already broken connection. This also moves the check to cli_smb_req_iov_send() where it really belongs. metze | |||||
2009-05-13 | s3: return proper error code in cli_smb_req_send | Bo Yang | 1 | -22/+28 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-05-12 | Clean up assignments to iov_base, ensure it's always cast to void *. This ↵ | Jeremy Allison | 1 | -6/+6 | |
should quieten some warnings with picky compilers on the buildfarm. Jeremy. | |||||
2009-04-29 | s3: fix crash in winbindd | Bo Yang | 1 | -0/+4 | |
2009-04-06 | Add async oplock waiter | Volker Lendecke | 1 | -1/+101 | |
2009-04-06 | Never hand out 0xffff as a mid | Volker Lendecke | 1 | -1/+1 | |
This is used for oplock replies | |||||
2009-04-06 | Remove async_req based async libsmb infrastructure | Volker Lendecke | 1 | -869/+0 | |
2009-04-06 | Add new async libsmb infrastructure | Volker Lendecke | 1 | -0/+765 | |
I know this is just yet another iteration, but I like this one much better than the one that exists right now :-) It will do trans and echo requests without a _recv helper and without unnecessary memcpy(). | |||||
2009-03-23 | s3:libsmb: use new simplified smb_signing code for the client side | Stefan Metzmacher | 1 | -15/+28 | |
We store the seqnum/mid mapping in the cli_request structure for async requests and in the cli_state structure for sync calls. We skip the signing check for oplock requests while waiting for async requests coming in. metze | |||||
2009-03-20 | Fix crash in async_smb.c | Bo Yang | 1 | -3/+6 | |
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 1 | -2/+2 | |
2009-01-31 | Make is_andx_req non-static | Volker Lendecke | 1 | -26/+0 | |
2009-01-28 | Fix a valgrind error when the socket dies | Volker Lendecke | 1 | -4/+9 | |
Don't reference anything that might have been deleted in the async_req_error call. | |||||
2009-01-03 | struct async_req doesn't really need to carry an event_context | Volker Lendecke | 1 | -1/+1 | |
2008-12-19 | Fix setting smb_len for huge write&x calls | Volker Lendecke | 1 | -1/+14 | |
2008-12-19 | Add the cli_wct_ofs routine to calculate the offset for write&x | Volker Lendecke | 1 | -0/+31 | |
2008-12-19 | Add a doxygen comment line I forgot to merge | Volker Lendecke | 1 | -0/+1 | |
2008-12-19 | Convert cli_request->outbuf to uint8_t | Volker Lendecke | 1 | -13/+15 | |
2008-12-19 | For large smbwrite&x, we need more than 64k bcc | Volker Lendecke | 1 | -4/+4 | |
2008-12-19 | Add some comments | Volker Lendecke | 1 | -0/+22 | |
If it takes more than 10 seconds to understand the code you've written yourself less than a year ago, it's time for comments or refactoring. I couldn't find a way to refactor that cleanly, so add comments :-) | |||||
2008-12-19 | Fix the padding calculation in smb_splice_chain for "bytes_padding!=0" | Volker Lendecke | 1 | -1/+1 | |
2008-12-19 | Pass "bytes_alignment" up through cli_request_send | Volker Lendecke | 1 | -2/+5 | |
This parameter makes smb_spice_chain add padding before the bytes field | |||||
2008-12-19 | Prefer network writes over reads | Volker Lendecke | 1 | -32/+33 | |
If we really want to keep the pipe busy, we need to write everything we have as early as possible, giving the kernel the chance to get rid of the buffers quickly :-) | |||||
2008-12-08 | Add a "bytes_padding" parameter to smb_splice_chain | Volker Lendecke | 1 | -12/+28 | |
For example open&x and write&x needs the bytes to be aligned relative to the SMB header. In particular for write&x we should not have to move stuff around. | |||||
2008-12-08 | Factor out smb_splice_chain(), to be used by chain_reply() in smbd | Volker Lendecke | 1 | -46/+98 | |
2008-10-14 | Fixed "argument differ in signedness" warning on linux | Tim Prouty | 1 | -2/+2 | |
2008-10-09 | Ensure we handle signals correctly during the async calls. | Jeremy Allison | 1 | -2/+2 | |
Jeremy. | |||||
2008-09-17 | Remove a cast -- thanks metze | Volker Lendecke | 1 | -2/+2 | |
2008-09-12 | Factor out validate_smb_crypto | Volker Lendecke | 1 | -41/+53 | |
(This used to be commit 37fcc9dc462dfb006fdac294e49c0dae7588c103) | |||||
2008-09-12 | Fix "make test" -- gna... | Volker Lendecke | 1 | -1/+1 | |
(This used to be commit c1d3ae80b5f5f07c5efcd7f3ee301d5c3090f3c6) | |||||
2008-09-12 | remove a pointless empty line | Volker Lendecke | 1 | -1/+0 | |
(This used to be commit fba250ece45f6632c7d89b0ea28baab047e41a8f) | |||||
2008-09-12 | Add a paranoia check on incoming PDUs | Volker Lendecke | 1 | -0/+7 | |
(This used to be commit 8b81b85200b7ca18cf81fdbbc3254d8578b35f43) | |||||
2008-09-09 | Move setting the mid field in req->outbuf from _cork to _uncork | Volker Lendecke | 1 | -1/+1 | |
The async trans calls need this, as for secondary trans calls they have to modify the MID from what cli_request_chain() gave us. (This used to be commit c85de4b7b5db8b54b8bf0f91acbd6d08d1b0bc9d) | |||||
2008-09-09 | Add utility function cli_in_chain() | Volker Lendecke | 1 | -0/+15 | |
This gives a hint whether a function is called from within the middle of a chain. In particular the trans calls don't really like this. (This used to be commit 4252b32db5ef7483f2c5c52312b6e6dc68d1d687) | |||||
2008-09-05 | Protect against a closed socket | Volker Lendecke | 1 | -0/+5 | |
(This used to be commit d6cb5fdafbddb08d32b788674eff509cae9525c6) | |||||
2008-09-05 | Do proper error handling if the socket is closed | Volker Lendecke | 1 | -2/+8 | |
(This used to be commit e5a27773f97d7017cfa345799c6803fd82c8e797) | |||||
2008-08-28 | Remove cli_request_get() | Volker Lendecke | 1 | -17/+6 | |
req->private_data==NULL at this point is definitely a bug. (This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e) |