Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-11-24 | s3:smbXcli: keep two fd per connection in order to work with the epoll ↵ | Stefan Metzmacher | 1 | -10/+25 | |
tevent backend metze | |||||
2011-11-24 | smbXcli: rework smb1cli_trans.c to use smbXcli_conn/smbXcli_req | Stefan Metzmacher | 3 | -136/+262 | |
metze | |||||
2011-11-24 | smbXcli: cp source3/libsmb/clitrans.c libcli/smb/smb1cli_trans.c | Stefan Metzmacher | 1 | -0/+778 | |
metze | |||||
2011-11-24 | smbXcli: add smb2cli_req_set_notify_async() | Stefan Metzmacher | 2 | -0/+24 | |
That can be used if the caller wants to be notified if the async interim response arrives. metze | |||||
2011-11-24 | smbXcli: add support for tevent_req_cancel() on smbXcli_req | Stefan Metzmacher | 1 | -0/+152 | |
metze | |||||
2011-11-24 | smbXcli: fix smb signing for SMBntcancel | Stefan Metzmacher | 1 | -3/+10 | |
metze | |||||
2011-11-24 | smbXcli: add smb2cli_session_create_channel() | Stefan Metzmacher | 2 | -5/+93 | |
This makes it possible to implement SMB 2.22 Multi-Channel for testing. metze | |||||
2011-11-24 | s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵ | Stefan Metzmacher | 2 | -6/+12 | |
signing metze | |||||
2011-11-24 | smbXcli: add support for smb2 signing | Stefan Metzmacher | 1 | -5/+144 | |
metze | |||||
2011-11-24 | smbXcli: add smbXcli_session infrastructure | Stefan Metzmacher | 2 | -0/+152 | |
metze | |||||
2011-11-24 | smbXcli: add support for PROTOCOL_SMB2_22 in smbXcli_negprot() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-11-24 | smbXcli: add support for SMB2 multi-credit requests | Stefan Metzmacher | 2 | -5/+67 | |
metze | |||||
2011-11-24 | smbXcli: add support for 2.??? negprot and PROTOCOL_SMB2_10 | Stefan Metzmacher | 1 | -2/+39 | |
metze | |||||
2011-11-24 | smbXcli: pass client_guid to smbXcli_conn_create() | Stefan Metzmacher | 2 | -2/+9 | |
metze | |||||
2011-11-24 | smbXcli: add smbXcli_negprot_* | Stefan Metzmacher | 2 | -0/+815 | |
This supports negotiation of any SMB1 or SMB2 dialect. metze | |||||
2011-11-24 | smbXcli: add helper functions to access the negotiated features | Stefan Metzmacher | 2 | -0/+113 | |
metze | |||||
2011-11-24 | smbXcli: also notify chained requests about broken connections | Stefan Metzmacher | 1 | -14/+49 | |
metze | |||||
2011-11-24 | smbXcli: simplify smb1cli_req_chain_submit() | Stefan Metzmacher | 1 | -12/+3 | |
We should hang everything on the first request in the chain, as that's the one that gets added to the pending array. metze | |||||
2011-11-24 | smbXcli: remove unused smb1cli_have_andx_command() | Stefan Metzmacher | 1 | -32/+0 | |
metze | |||||
2011-11-24 | smbXcli: reorder smb1cli_conn_dispatch_incoming() to avoid too much nesting | Stefan Metzmacher | 1 | -64/+67 | |
metze | |||||
2011-11-24 | smbXcli: rework smb1cli_req_recv() to expose an iov with 3 elements | Stefan Metzmacher | 2 | -111/+118 | |
Each smb1cli_req has 3 iov elements [SMB HDR, SMB Parameter Block, SMB Data Block]. The 'inbuf' is still exposed if the caller requires it (until we fix all legacy callers). The can now pass an array of expected [status,wct] combinations, instead of just one expected min_wct. metze | |||||
2011-11-24 | smbXcli: use smb1cli_inbuf_parse_chain() and remember more details per chain ↵ | Stefan Metzmacher | 1 | -15/+60 | |
response metze | |||||
2011-11-24 | smbXcli: add smb1cli_inbuf_parse_chain() | Stefan Metzmacher | 1 | -0/+174 | |
metze | |||||
2011-11-24 | smbXcli: pass hdr to smb1cli_pull_raw_error() | Stefan Metzmacher | 1 | -3/+2 | |
metze | |||||
2011-11-24 | smbXcli: add state->smb1.recv_{cmd,status,iov} | Stefan Metzmacher | 1 | -0/+13 | |
In the following commits we will need to remember a few more things. metze | |||||
2011-11-24 | smbXcli: split out a smb1cli_req_flags() function | Stefan Metzmacher | 1 | -26/+55 | |
metze | |||||
2011-11-24 | smbXcli: set message id to UINT64_MAX for BREAK in smb2cli_req_create() | Stefan Metzmacher | 1 | -0/+9 | |
This way the caller can register an oplock handler. Note that smb2cli_req_compound_submit() will overwrite this if a request is send over the wire. metze | |||||
2011-11-24 | s3:smb2cli: replace smb2cli_base.c code with the more generic smbXcli_base.c ↵ | Stefan Metzmacher | 1 | -0/+1 | |
code metze | |||||
2011-11-24 | smbXcli: rework smb2cli_req to smbXcli_conn/smbXcli_req | Stefan Metzmacher | 2 | -172/+167 | |
metze | |||||
2011-11-24 | libcli/smb: copy smb2cli_req_* code to smbXcli_base.c | Stefan Metzmacher | 2 | -0/+620 | |
metze | |||||
2011-11-24 | smbXcli: rework smbXcli_base.c to use smbXcli_conn/smbXcli_req | Stefan Metzmacher | 2 | -323/+871 | |
This splits the low level smb code from 'struct cli_state' and makes it much more generic and useful for testing. metze | |||||
2011-11-24 | smbXcli: cp source3/libsmb/async_smb.c libcli/smb/smbXcli_base.c | Stefan Metzmacher | 1 | -0/+1118 | |
metze | |||||
2011-11-03 | libcli/smb: use the same values for SMB_SIGNING_* as the source3 code uses | Stefan Metzmacher | 1 | -4/+4 | |
The source3 code currently uses: #define Undefined (-1) #define False false #define True true #define Required (3) In order to make the rewrite easier we should match the values. metze | |||||
2011-11-03 | libcli/smb: remove unused SMB_SIGNING_SUPPORTED | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2011-11-03 | libcli/smb: add SMB_SIGNING_IF_REQUIRED as replacement for SMB_SIGNING_SUPPORTED | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-11-03 | libcli/smb: SMB_SIGNING_AUTO is no longer used | Stefan Metzmacher | 1 | -1/+0 | |
metze | |||||
2011-11-03 | libcli/smb: add SMB_SIGNING_DEFAULT | Stefan Metzmacher | 1 | -2/+6 | |
metze | |||||
2011-10-26 | libcli/smb: add smb_buffer_oob() helper | Stefan Metzmacher | 2 | -0/+14 | |
A copy of trans_oob(). metze | |||||
2011-10-26 | libcli/smb: merge NEGOTIATE_SECURITY_* flags to smb_constants.h | Stefan Metzmacher | 1 | -0/+6 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Oct 26 11:27:12 CEST 2011 on sn-devel-104 | |||||
2011-10-25 | libcli/smb: move smb_signing.[ch] to the toplevel | Stefan Metzmacher | 3 | -5/+519 | |
metze | |||||
2011-10-25 | libcli/smb: remove unused includes from read_smb.h | Stefan Metzmacher | 1 | -2/+2 | |
metze | |||||
2011-10-24 | libcli/smb: merge LOCKING_ANDX_* and OPLOCK_* defines to smb_constants.h | Stefan Metzmacher | 1 | -0/+34 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 17:46:47 CEST 2011 on sn-devel-104 | |||||
2011-10-24 | libcli/smb: move more defines to smb_constants.h | Stefan Metzmacher | 1 | -0/+105 | |
metze | |||||
2011-10-24 | libcli/smb: move CAP_* defines to smb_constants.h | Stefan Metzmacher | 1 | -0/+46 | |
metze | |||||
2011-10-24 | libcli/smb Move smb_seal.h include to files that use it. | Andrew Bartlett | 2 | -1/+1 | |
This is required because at the moment, smb_seal.h includes references to gssapi structures and this causes issues with header dependencies on subsystems that otherwise do not need a gssapi dependency. Andrew Bartlett Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2011-10-24 | libcli/smb: move source3/libsmb/read_smb.* to the toplevel | Stefan Metzmacher | 3 | -2/+148 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Oct 24 10:18:06 CEST 2011 on sn-devel-104 | |||||
2011-10-21 | libcli: remove unneeded com_err.h and fix the build here. | Günther Deschner | 1 | -4/+0 | |
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Oct 21 15:52:36 CEST 2011 on sn-devel-104 | |||||
2011-10-21 | libcli/smb: move smb_seal.c to the toplevel | Stefan Metzmacher | 4 | -2/+503 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Oct 21 10:22:39 CEST 2011 on sn-devel-104 | |||||
2011-10-21 | libcli/smb: add smb_setlen_[nbt|tcp] macros | Stefan Metzmacher | 1 | -0/+8 | |
metze | |||||
2011-10-21 | libcli/smb: move some common defines to smb_constants.h | Stefan Metzmacher | 1 | -0/+27 | |
metze |