Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-07-22 | s3:libsmb: move cli_state->desthost to cli_state->conn.remote_name | Stefan Metzmacher | 1 | -4/+4 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 18:17:41 CEST 2011 on sn-devel-104 | |||||
2011-07-22 | s3:libsmb: add cli_state_remote_name() | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2011-07-22 | s3:libsmb: move cli_state->{src_ss,dest_ss} to ↵ | Stefan Metzmacher | 1 | -6/+6 | |
cli_state->conn.{local_ss,remote_ss} metze | |||||
2011-07-22 | s3:libsmb: add cli_state_[local|remote]_sockaddr() | Stefan Metzmacher | 1 | -0/+10 | |
metze | |||||
2011-07-22 | s3:libsmb: move cli_state->fd to cli_state->conn.fd | Stefan Metzmacher | 1 | -3/+2 | |
metze | |||||
2011-07-22 | s3:libsmb: make use of cli_state_disconnect() | Stefan Metzmacher | 1 | -4/+1 | |
metze | |||||
2011-07-22 | s3:libsmb: move cli_state->outgoing to cli_state->conn.outgoing | Stefan Metzmacher | 1 | -2/+2 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 09:53:59 CEST 2011 on sn-devel-104 | |||||
2011-07-22 | s3:libsmb: move cli_state->pending to cli_state->conn.pending | Stefan Metzmacher | 1 | -3/+3 | |
metze | |||||
2011-07-22 | s3:libsmb: fix compiler warnings in cli_state_create() | Stefan Metzmacher | 1 | -5/+5 | |
metze | |||||
2011-07-21 | s3:libsmb: replace cli_initialise[_ex]() by cli_state_create() | Stefan Metzmacher | 1 | -8/+29 | |
This makes sure cli_state->src_ss and cli_state->dest_ss are always initialized. metze | |||||
2011-07-21 | s3:libsmb: move cli->vuid to cli->smb1.uid and hide it behind ↵ | Stefan Metzmacher | 1 | -2/+14 | |
cli_state_[g|s]et_uid() metze | |||||
2011-07-21 | s3:libsmb: add cli_state_encryption_on() | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2011-07-20 | s3:libsmb: move cli->cnum to cli->smb1.tid and hide it behind ↵ | Stefan Metzmacher | 1 | -2/+23 | |
cli_state_[g|s]et_tid() metze | |||||
2011-07-20 | s3:libsmb: move cli->pid to cli->smb1.pid and hide it behind cli_[g|s]etpid() | Stefan Metzmacher | 1 | -5/+10 | |
metze | |||||
2011-07-20 | s3:libsmb: add cli->smb1.vc_num and hide it behind cli_state_get_vc_num() | Stefan Metzmacher | 1 | -0/+6 | |
This makes it clearer, why we send the pid value in the session setup. metze | |||||
2011-07-20 | s3:libsmb: move cli->mid to cli->smb1.mid | Stefan Metzmacher | 1 | -2/+3 | |
metze | |||||
2011-07-12 | s3:libsmb: remove unused cli_oplock_handler() | Stefan Metzmacher | 1 | -1/+0 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 12 10:53:52 CEST 2011 on sn-devel-104 | |||||
2011-07-11 | s3:libsmb: remove unused cli_set_port() | Stefan Metzmacher | 1 | -10/+0 | |
metze | |||||
2011-07-08 | s3:libsmb: remove unused cli->inbuf and cli->bufsize | Stefan Metzmacher | 1 | -11/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 8 15:21:46 CEST 2011 on sn-devel-104 | |||||
2011-07-08 | s3:libsmb: don't use the cli->inbuf to store the last error | Stefan Metzmacher | 1 | -0/+1 | |
We keep the raw error in cli->raw_status now, until we fixed all caller to get the NTSTATUS from the function calls. metze | |||||
2011-07-08 | s3:libsmb: don't call cli_set_error() in cli_echo() | Stefan Metzmacher | 1 | -3/+0 | |
cli_smb_recv() already does it. metze | |||||
2011-07-08 | s3:libsmb: remove unused enum smb_read_errors infrastructure | Stefan Metzmacher | 1 | -7/+1 | |
metze | |||||
2011-07-07 | s3:libsmb: finally remove unused cli_state->outbuf | Stefan Metzmacher | 1 | -5/+1 | |
metze | |||||
2011-06-10 | s3:libsmb: remove unused cli_state_seqnum infrastructure | Stefan Metzmacher | 1 | -32/+0 | |
metze Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri Jun 10 20:37:54 CEST 2011 on sn-devel-104 | |||||
2011-06-09 | s3-talloc Change TALLOC_ZERO_P() to talloc_zero() | Andrew Bartlett | 1 | -1/+1 | |
Using the standard macro makes it easier to move code into common, as TALLOC_ZERO_P isn't standard talloc. | |||||
2011-05-22 | s3: Remove cli_send/receive_smb | Volker Lendecke | 1 | -282/+0 | |
A moment of silence is due here, R.I.P. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun May 22 22:17:12 CEST 2011 on sn-devel-104 | |||||
2011-05-21 | s3: Remove unused cli_setup_bcc | Volker Lendecke | 1 | -9/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat May 21 21:24:13 CEST 2011 on sn-devel-104 | |||||
2011-05-20 | s3: Remove unused cli_setup_packet() | Volker Lendecke | 1 | -5/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Fri May 20 10:51:36 CEST 2011 on sn-devel-104 | |||||
2011-05-06 | s3-libsmb: move protos to libsmb/proto.h | Günther Deschner | 1 | -0/+1 | |
Guenther | |||||
2011-04-29 | s3-tevent: only include ../lib/util/tevent wrappers where needed. | Günther Deschner | 1 | -0/+1 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104 | |||||
2011-04-26 | s3: Remove cli_write | Volker Lendecke | 1 | -45/+0 | |
Signed-off-by: Jeremy Allison <jra@samba.org> | |||||
2011-03-23 | s3-lib Remove the clobber_region() code. | Andrew Bartlett | 1 | -7/+0 | |
This code wrote to the full buffer in fstrcpy(), pstrcpy() and other fixed-length string manipulation functions. The hope of this code was to find out at run time if we were mixing up pstring and fstring etc, and to record where this came from. It has a runtime performance impact (particularly if compiled with --enable-developer). It is being removed because of the complexity it adds, and the distinct lack of bugs that this complexity has been credited in finding. The macro-based compile-time checking of string sizes remains. Andrew Bartlett | |||||
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(). |