Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-03-01 | s3-build __FUNCTION__ is always available, always use it | Andrew Bartlett | 1 | -2/+2 | |
This avoids duplication between FUNCTION_NAME and __FUNCTION__ | |||||
2011-02-23 | s3:libsmb only log a dead connection if it was not closed | Christian Ambach | 1 | -7/+12 | |
in case the cli was closed before (e.g. via a dropped ip message) it can be expected that the read here returns with an error and so we should not log that a connection is dead when it was closed before Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Feb 23 16:51:03 CET 2011 on sn-devel-104 | |||||
2011-01-17 | s3: Make passing up "result_parent" from cli_smb optional | Volker Lendecke | 1 | -1/+1 | |
2011-01-17 | s3: Remove unused cli_send_keepalive | Volker Lendecke | 1 | -19/+0 | |
2010-09-20 | s3-build: only include async headers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-09-01 | s3: Print the IP of the server that stopped responding | Volker Lendecke | 1 | -1/+5 | |
2010-08-18 | s3-build: only include smb_signing.h where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2010-08-15 | s3: Remove some unused code | Volker Lendecke | 1 | -31/+0 | |
2010-03-29 | s3:libsmb: don't let cli_shutdown() segfault with a NULL cli_state | Stefan Metzmacher | 1 | -0/+3 | |
metze | |||||
2010-02-22 | s3: Explicitly handle inbuf in cli_echo_done | Volker Lendecke | 1 | -1/+2 | |
2010-02-22 | s3: Add a talloc_move for the inbuf to cli_smb_recv | Volker Lendecke | 1 | -2/+4 | |
2010-02-20 | s3: Add cli_smb() | Volker Lendecke | 1 | -0/+36 | |
This is a sync wrapper around cli_smb_send/cli_smb_recv. This is a hack to speed up converting libsmb/ away from cli_send_smb/cli_receive_smb. Some routines in libsmb/ are only called in one place in smbtorture for example, where making it async right now is not worth it. With cli_smb_send/cli_smb_recv in place, pushing the asynchronosity out one level is "just" boilerplate code that is easy to do should it become necessary. | |||||
2010-02-10 | s3-libsmb: update libsmb to use new DLIST macros | Andrew Tridgell | 1 | -22/+24 | |
manipulating p->prev directly is not safe any more (cherry picked from commit 3c650ac1e3e1cdbbabecfddcd29325f20b5dcb48) | |||||
2009-09-06 | Fix bug 6673 - smbpasswd does not work with "unix password sync = yes". | Jeremy Allison | 1 | -1/+1 | |
Revert change from 3.3 -> 3.4 with read_socket_with_timeout changed from sys_read() to sys_recv(). read_socket_with_timeout() is called with non-fd's (with a pty in chgpasswd.c and with a disk file in lib/dbwrap_file.c via read_data()). recv works for the disk file, but not the pty. Change the name of read_socket_with_timeout() to read_fd_with_timeout() to make this clear (and add comments). Jeremy. | |||||
2009-05-12 | Clean up assignments to iov_base, ensure it's always cast to void *. This ↵ | Jeremy Allison | 1 | -2/+2 | |
should quieten some warnings with picky compilers on the buildfarm. Jeremy. | |||||
2009-04-30 | Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int. | Jeremy Allison | 1 | -1/+1 | |
Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy. | |||||
2009-04-06 | Convert cli_echo to tevent_req | Volker Lendecke | 1 | -79/+66 | |
2009-04-06 | Add new async libsmb infrastructure | Volker Lendecke | 1 | -0/+12 | |
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 | -9/+95 | |
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-15 | Fix a malloc/talloc mismatch when cli_initialise() fails | Volker Lendecke | 1 | -3/+2 | |
2009-03-13 | Remove pwd_cache.c, it was doing nothing. Make user_name, domain, and | Jeremy Allison | 1 | -7/+52 | |
password talloc'ed strings within the cli_struct. Jeremy. | |||||
2009-03-12 | Remove the static "struct client_connection" mess which is part of | Jeremy Allison | 1 | -1/+27 | |
the problem that stops libsmbclient being thread safe. Subsidiary DFS connections are now hung off a list inside the cli_state struct. Much more to do in order to get libsmbclient to thread safety, but this is a good start. Jeremy. | |||||
2009-03-06 | s3:libsmb: merge cli_setup_signing_state() into cli_initialise_ex() | Stefan Metzmacher | 1 | -27/+25 | |
metze | |||||
2009-03-06 | s3:libsmb: remove cli_setup_signing_state() and add struct cli_state ↵ | Stefan Metzmacher | 1 | -2/+8 | |
*cli_initialise_ex() This prepares the next changes. metze | |||||
2009-02-01 | Split up async_req into a generic and a NTSTATUS specific part | Volker Lendecke | 1 | -3/+3 | |
2009-01-31 | Make is_andx_req non-static | Volker Lendecke | 1 | -0/+25 | |
2009-01-29 | cli_ucs2 | Volker Lendecke | 1 | -0/+10 | |
2009-01-14 | Remove smbclient globals that bled into clidfs.c. Now we only have | Jeremy Allison | 1 | -2/+1 | |
the connections list and authentication structures to worry about. Jeremy | |||||
2008-12-29 | Attempt to fix bug 5953: Make cli_send_smb_direct_writeX use writev | Volker Lendecke | 1 | -27/+13 | |
It seems there are SMB servers around which can't cope with the write header being sent in a packet of its own. With writev we keep the advantage of direct writes, giving the kernel the chance to coalesce the write calls. | |||||
2008-12-19 | Pass "bytes_alignment" up through cli_request_send | Volker Lendecke | 1 | -1/+1 | |
This parameter makes smb_spice_chain add padding before the bytes field | |||||
2008-12-08 | Simplify async programming a bit with helper routines | Volker Lendecke | 1 | -6/+1 | |
Introduce async_req_is_error() and async_req_simple_recv() | |||||
2008-09-21 | Make use of TALLOC_ZERO_P | Volker Lendecke | 1 | -3/+1 | |
2008-08-28 | Remove cli_request_get() | Volker Lendecke | 1 | -2/+2 | |
req->private_data==NULL at this point is definitely a bug. (This used to be commit ce3dc9f616cafc1289a94ac7cae0beca967d836e) | |||||
2008-08-28 | Add async smbecho client support | Volker Lendecke | 1 | -27/+139 | |
(This used to be commit c1d645fbe39433541d8bfe6b818c855cee318dc5) | |||||
2008-07-01 | Two more fixes from Jim Brown <jim.brown@miami.edu> for SGI compiler warnings. | Jeremy Allison | 1 | -1/+6 | |
Jeremy. (This used to be commit d85cbdbe296ec6de5bdbd66a90ca41345f55c837) | |||||
2008-05-28 | Security fix for CVE-2008-1105: Boundary failure when parsing SMB responses | Jeremy Allison | 1 | -91/+3 | |
can result in a buffer overrun. Jeremy. (This used to be commit 23b825e9d2c74c5b940cf4d3aa56c18692259972) | |||||
2008-04-20 | Replace cli_rpc_pipe_close by a talloc destructor on rpc_pipe_struct | Volker Lendecke | 1 | -43/+5 | |
(This used to be commit 99fc3283c4ecc791f5a242bd1983b4352ce3e6cf) | |||||
2008-04-20 | Add "desthost" to rpc_pipe_client | Volker Lendecke | 1 | -2/+2 | |
This reduces the dependency on cli_state (This used to be commit 783afab9c891dd7bcb78895b2a639b6f3a0edf5b) | |||||
2008-04-20 | Refactoring: Make struct rpc_pipe_client its own talloc parent | Volker Lendecke | 1 | -1/+1 | |
(This used to be commit a6d74a5a562b54f0b36934965f545fdeb1e8b34a) | |||||
2008-02-28 | Add cli_setup_packet_buf | Volker Lendecke | 1 | -22/+32 | |
This is == cli_setup_packet but takes an explicit buffer argument (This used to be commit f64b46dc278899c3449cfd3dbb614aadcf5614d3) | |||||
2008-02-28 | Make cli_struct a talloc parent | Volker Lendecke | 1 | -2/+2 | |
(This used to be commit e69244a5c8c7c6b7c1897adc4b4b1cfdfc7a7999) | |||||
2008-02-28 | Add explicit buf arg to cli_check_sign_mac | Volker Lendecke | 1 | -1/+1 | |
(This used to be commit ffc1c8cc03e6bad40ed2be91392074b4f038a1bf) | |||||
2008-02-28 | Add explicit buf arg to cli_encrypt_message and cli_calculate_sign_mac | Volker Lendecke | 1 | -2/+3 | |
(This used to be commit db6ae9ed2326e6cd68475375d049084cf1d5a98c) | |||||
2008-02-02 | Convert receive_smb_raw to NTSTATUS | Volker Lendecke | 1 | -4/+25 | |
(This used to be commit ba771bd858602452a9e58c3aab1336f2ac8a25ef) | |||||
2008-02-02 | read_socket_with_timeout_ntstatus->read_socket_with_timeout | Volker Lendecke | 1 | -1/+1 | |
(This used to be commit 90554799afa42855c3e7b87dc632e67f0952f988) | |||||
2008-02-02 | Get rid of read_socket_with_timeout | Volker Lendecke | 1 | -2/+22 | |
(This used to be commit f9c8ac83ff42137d2101d3bb17e5dcc3c3d70a8f) | |||||
2008-01-23 | read_socket_with_timeout has timeout=0 handling | Volker Lendecke | 1 | -6/+2 | |
(This used to be commit 7101026061c470ed962267b43ac0aa67cc761a64) | |||||
2007-12-26 | Encryption works better when you add the client decrypt code :-). | Jeremy Allison | 1 | -0/+11 | |
Jeremy. (This used to be commit d67b2634068be9c69082a2b8c22c831aba371cd9) | |||||
2007-12-26 | Add SMB encryption. Still fixing client decrypt but | Jeremy Allison | 1 | -35/+73 | |
negotiation works. Jeremy. (This used to be commit d78045601af787731f0737b8627450018902b104) | |||||
2007-12-21 | Some C++ warnings | Volker Lendecke | 1 | -2/+2 | |
(This used to be commit 5ab82d4f574f2a2e2761e9e414c66a70aeffb05d) |