Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove cli_request_get() | Volker Lendecke | 2008-08-28 | 1 | -2/+2 |
| | | | | req->private_data==NULL at this point is definitely a bug. | ||||
* | Add async smbecho client support | Volker Lendecke | 2008-08-28 | 1 | -27/+139 |
| | |||||
* | Two more fixes from Jim Brown <jim.brown@miami.edu> for SGI compiler warnings. | Jeremy Allison | 2008-07-01 | 1 | -1/+6 |
| | | | | Jeremy. | ||||
* | Security fix for CVE-2008-1105: Boundary failure when parsing SMB responses | Jeremy Allison | 2008-05-28 | 1 | -91/+3 |
| | | | | | can result in a buffer overrun. Jeremy. | ||||
* | Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct | Volker Lendecke | 2008-04-20 | 1 | -43/+5 |
| | |||||
* | Add "desthost" to rpc_pipe_client | Volker Lendecke | 2008-04-20 | 1 | -2/+2 |
| | | | | This reduces the dependency on cli_state | ||||
* | Refactoring: Make struct rpc_pipe_client its own talloc parent | Volker Lendecke | 2008-04-20 | 1 | -1/+1 |
| | |||||
* | Add cli_setup_packet_buf | Volker Lendecke | 2008-02-28 | 1 | -22/+32 |
| | | | | This is == cli_setup_packet but takes an explicit buffer argument | ||||
* | Make cli_struct a talloc parent | Volker Lendecke | 2008-02-28 | 1 | -2/+2 |
| | |||||
* | Add explicit buf arg to cli_check_sign_mac | Volker Lendecke | 2008-02-28 | 1 | -1/+1 |
| | |||||
* | Add explicit buf arg to cli_encrypt_message and cli_calculate_sign_mac | Volker Lendecke | 2008-02-28 | 1 | -2/+3 |
| | |||||
* | Convert receive_smb_raw to NTSTATUS | Volker Lendecke | 2008-02-02 | 1 | -4/+25 |
| | |||||
* | read_socket_with_timeout_ntstatus->read_socket_with_timeout | Volker Lendecke | 2008-02-02 | 1 | -1/+1 |
| | |||||
* | Get rid of read_socket_with_timeout | Volker Lendecke | 2008-02-02 | 1 | -2/+22 |
| | |||||
* | read_socket_with_timeout has timeout=0 handling | Volker Lendecke | 2008-01-23 | 1 | -6/+2 |
| | |||||
* | Encryption works better when you add the client decrypt code :-). | Jeremy Allison | 2007-12-26 | 1 | -0/+11 |
| | | | | Jeremy. | ||||
* | Add SMB encryption. Still fixing client decrypt but | Jeremy Allison | 2007-12-26 | 1 | -35/+73 |
| | | | | | negotiation works. Jeremy. | ||||
* | Some C++ warnings | Volker Lendecke | 2007-12-21 | 1 | -2/+2 |
| | |||||
* | Remove the explicit TALLOC_CTX * from cli_struct. | Jeremy Allison | 2007-11-29 | 1 | -8/+0 |
| | | | | | | Make us very explicit about how long a talloc ctx should last. Jeremy. | ||||
* | Remove the horror that was the global smb_rw_error. | Jeremy Allison | 2007-11-05 | 1 | -11/+12 |
| | | | | | | | | | | Each cli struct has it's own local copy of this variable, so use that in client code. In the smbd server, add one static to smbd/proccess.c and use that inside smbd. Fix a bunch of places where smb_rw_error could be set by calling read_data() in places where we weren't reading from the SMB client socket (ie. winbindd). Jeremy. | ||||
* | Remove the smb_read_error global variable and replace | Jeremy Allison | 2007-11-03 | 1 | -11/+10 |
| | | | | | it with accessor functions. "One global or pstring a day...." :-). Jeremy. | ||||
* | Change the client library to write directly out of | Jeremy Allison | 2007-11-02 | 1 | -3/+62 |
| | | | | | | | the incoming buffer in the non-signed case. Speeds up writes by over 10% or so. Complete the server recvfile implementation. Jeremy. | ||||
* | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 2007-10-18 | 1 | -9/+9 |
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. | ||||
* | [GLUE] Rsync SAMBA_3_2_0 SVN r25598 in order to create the v3-2-test branch.samba-misc-tags/initial-v3-2-test | Gerald (Jerry) Carter | 2007-10-10 | 1 | -81/+15 |
| | |||||
* | r24223: Convert reply_echo to the new API | Volker Lendecke | 2007-10-10 | 1 | -7/+13 |
| | |||||
* | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 2007-10-10 | 1 | -2/+1 |
| | |||||
* | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r22950: Fix the issue Volker reported here : | Jeremy Allison | 2007-10-10 | 1 | -27/+1 |
| | | | | | | | | | | | | | | | | | | | | "Attempt to fix some build farm failures: On port 139 the first successful packet gives len==0 from the server, so the = in if (len <= 0) { in line 136 of clientgen.c throws a failure." The irritating thing is that I already had it correct in SAMBA_3_0_26 and forgot to merge the change across. len == 0 is a valid return - I messed that up when converting client_receive_smb() to return a length rather than a BOOL. Doh ! Jeremy. | ||||
* | r22930: Next attempt to get the build farm in line. | Volker Lendecke | 2007-10-10 | 1 | -1/+2 |
| | | | | Jeremy, please check this and merge if appropriate. | ||||
* | r22929: Attempt to fix some build farm failures: On port 139 the first | Volker Lendecke | 2007-10-10 | 1 | -0/+26 |
| | | | | | | | | | | | | | successful packet gives len==0 from the server, so the = in if (len <= 0) { in line 136 of clientgen.c throws a failure. Jeremy, please fix this properly, I'm not merging this to 3_0_26 so that you can filter it when you merge. Volker | ||||
* | r22924: Fix the build by correctly processing readX | Jeremy Allison | 2007-10-10 | 1 | -21/+25 |
| | | | | | errors in the direct read case. Jeremy. | ||||
* | r22920: Add in the UNIX capability for 24-bit readX, as discussed | Jeremy Allison | 2007-10-10 | 1 | -14/+113 |
| | | | | | | with the Apple guys and Linux kernel guys. Still looking at how to do writeX as there's no recvfile(). Jeremy. | ||||
* | r22391: Looks bigger than it is. Make "inbuf" available | Jeremy Allison | 2007-10-10 | 1 | -2/+2 |
| | | | | | | | to all callers of smb_setlen (via set_message() calls). This will allow the server to reflect back the correct encryption context. Jeremy. | ||||
* | r22212: Cope with signature errors on sessionsetupX logins | Jeremy Allison | 2007-10-10 | 1 | -0/+20 |
| | | | | | | where the server just reflects our signature back to us. Allow the upper layer to see the real error. Jeremy. | ||||
* | r21994: Ignore keepalives in the correct buffer (out not in :-). | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Jeremy. | ||||
* | r21993: Don't let keepalives interferece with sign or seal | Jeremy Allison | 2007-10-10 | 1 | -0/+5 |
| | | | | | in the client code. Jeremy. | ||||
* | r21992: Fix keepalive processing when encryption turned on. | Jeremy Allison | 2007-10-10 | 1 | -6/+26 |
| | | | | Jeremy. | ||||
* | r21991: I hate Steve French :-). Add support for encryption | Jeremy Allison | 2007-10-10 | 1 | -2/+5 |
| | | | | | contexts.... Jeremy. | ||||
* | r21990: Stop messing with the signing engine just because | Jeremy Allison | 2007-10-10 | 1 | -10/+10 |
| | | | | | | we're encrypted. This will make further changes and spec much more clear. Jeremy. | ||||
* | r21939: Fix missing initialization that | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | | | broke the build farm. Thanks to Metze for the heads up. Jeremy. | ||||
* | r21922: Fixed the build by rather horrid means. I really need | Jeremy Allison | 2007-10-10 | 1 | -27/+31 |
| | | | | | | | to restructure libsmb/smb_signing.c so it isn't in the base libs path but lives in libsmb instead (like smb_seal.c does). Jeremy. | ||||
* | r21880: Make client and server calls into encryption code symetrical, | Jeremy Allison | 2007-10-10 | 1 | -3/+10 |
| | | | | | depending on encryption context pointer. Jeremy. | ||||
* | r21865: Add in the stubs for SMB transport encryption. Will flesh | Jeremy Allison | 2007-10-10 | 1 | -5/+31 |
| | | | | | | | these out as I implement. Don't add to SAMBA_3_0_25, this is experimental code. NFSv4 you're now officially on notice... :-). Jeremy. | ||||
* | r20124: clean up nested extern declaration warnings | Herb Lewis | 2007-10-10 | 1 | -1/+2 |
| | |||||
* | r18014: revert a possibly unnecessary change | Derrell Lipman | 2007-10-10 | 1 | -1/+2 |
| | |||||
* | r18011: Should fix bug 3835. | Derrell Lipman | 2007-10-10 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Jeremy: requires your eyes... If the remote connection timed out while cli_list() was retrieving its list of files, the error was not returned to the user, e.g. via smbc_opendir(), so the user didn't have a way to know to set the timeout longer and try again. This problem would occur when a very large directory is being read with a too-small timeout on the cli. Jeremy, although there were a couple of areas that needed to be handled, I needed to make one change that you should bless, in libsmb/clientgen.c. It was setting cli->smb_rw_error = smb_read_error; but smb_read_error is zero, so this had no effect. I'm now doing cli->smb_rw_error = READ_TIMEOUT; instead, and according to the OP, these (cumulative) changes (in a slightly different form) solve the problem. Please confirm this smb_rw_error change will have no other adverse effects that you can see. Derrell | ||||
* | r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need | Jeremy Allison | 2007-10-10 | 1 | -31/+9 |
| | | | | | | | to do the upper layer directories but this is what everyone is waiting for.... Jeremy. | ||||
* | r16458: Increase debuglevel of cli_rpc_pipe_close(). | Günther Deschner | 2007-10-10 | 1 | -1/+1 |
| | | | | Guenther | ||||
* | r16356: Helping derrell out. Jeremy. | Jeremy Allison | 2007-10-10 | 1 | -1/+1 |
| | | | | Only set the DFS capability flag if the share is a DFS root. Fixes bug 3814. | ||||
* | r13676: have to return a value from a non-void function | Gerald Carter | 2007-10-10 | 1 | -1/+1 |
| |