summaryrefslogtreecommitdiff
path: root/libcli/smb/smbXcli_base.c
AgeCommit message (Collapse)AuthorFilesLines
2011-12-22libcli/smb: add PROTOCOL_SMB2_24 supportStefan Metzmacher1-0/+1
metze
2011-11-29smbXcli: add support for SMBreadBrawStefan Metzmacher1-7/+54
metze
2011-11-29smbXcli: add smb1cli_conn_server_{readbraw,writebraw,lockread,writeunlock}()Stefan Metzmacher1-0/+20
metze
2011-11-29smbXcli: rebuild smb1.recv_iov array if we expect more than one responseStefan Metzmacher1-0/+29
metze
2011-11-29smbXcli: allow up to 10 iovec elements for the bytes in smb1cli_req_create()Stefan Metzmacher1-1/+1
The smb1cli_trans_* code uses up to 6 elements, which was too much for the current limit of 5. metze
2011-11-29smbXcli: s/smb2cli_writev_done/smb2cli_req_writev_doneStefan Metzmacher1-3/+3
This is a better name and it matches smb1cli_req_writev_done metze
2011-11-29smbXcli: call tevent_queue_stop() for the outgoing queue on disconnectStefan Metzmacher1-0/+2
metze
2011-11-29smbXcli: use talloc_stackframe() instead of talloc_tos() in smb1cli_conn_signv()Stefan Metzmacher1-2/+5
metze
2011-11-28Fix Coverity ID 2638: OVERRUN_STATICVolker Lendecke1-1/+1
2011-11-28Fix Coverity ID 2639: UNUSED_VALUEVolker Lendecke1-2/+0
2011-11-24s3:libsmb: Fix a typoVolker Lendecke1-1/+1
2011-11-24s3:smbXcli: keep two fd per connection in order to work with the epoll ↵Stefan Metzmacher1-10/+25
tevent backend metze
2011-11-24smbXcli: add smb2cli_req_set_notify_async()Stefan Metzmacher1-0/+23
That can be used if the caller wants to be notified if the async interim response arrives. metze
2011-11-24smbXcli: add support for tevent_req_cancel() on smbXcli_reqStefan Metzmacher1-0/+152
metze
2011-11-24smbXcli: fix smb signing for SMBntcancelStefan Metzmacher1-3/+10
metze
2011-11-24smbXcli: add smb2cli_session_create_channel()Stefan Metzmacher1-5/+89
This makes it possible to implement SMB 2.22 Multi-Channel for testing. metze
2011-11-24s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher1-4/+10
signing metze
2011-11-24smbXcli: add support for smb2 signingStefan Metzmacher1-5/+144
metze
2011-11-24smbXcli: add smbXcli_session infrastructureStefan Metzmacher1-0/+140
metze
2011-11-24smbXcli: add support for PROTOCOL_SMB2_22 in smbXcli_negprot()Stefan Metzmacher1-0/+1
metze
2011-11-24smbXcli: add support for SMB2 multi-credit requestsStefan Metzmacher1-5/+64
metze
2011-11-24smbXcli: add support for 2.??? negprot and PROTOCOL_SMB2_10Stefan Metzmacher1-2/+39
metze
2011-11-24smbXcli: pass client_guid to smbXcli_conn_create()Stefan Metzmacher1-1/+6
metze
2011-11-24smbXcli: add smbXcli_negprot_*Stefan Metzmacher1-0/+803
This supports negotiation of any SMB1 or SMB2 dialect. metze
2011-11-24smbXcli: add helper functions to access the negotiated featuresStefan Metzmacher1-0/+95
metze
2011-11-24smbXcli: also notify chained requests about broken connectionsStefan Metzmacher1-14/+49
metze
2011-11-24smbXcli: simplify smb1cli_req_chain_submit()Stefan Metzmacher1-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-24smbXcli: remove unused smb1cli_have_andx_command()Stefan Metzmacher1-32/+0
metze
2011-11-24smbXcli: reorder smb1cli_conn_dispatch_incoming() to avoid too much nestingStefan Metzmacher1-64/+67
metze
2011-11-24smbXcli: rework smb1cli_req_recv() to expose an iov with 3 elementsStefan Metzmacher1-108/+101
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-24smbXcli: use smb1cli_inbuf_parse_chain() and remember more details per chain ↵Stefan Metzmacher1-15/+60
response metze
2011-11-24smbXcli: add smb1cli_inbuf_parse_chain()Stefan Metzmacher1-0/+174
metze
2011-11-24smbXcli: pass hdr to smb1cli_pull_raw_error()Stefan Metzmacher1-3/+2
metze
2011-11-24smbXcli: add state->smb1.recv_{cmd,status,iov}Stefan Metzmacher1-0/+13
In the following commits we will need to remember a few more things. metze
2011-11-24smbXcli: split out a smb1cli_req_flags() functionStefan Metzmacher1-26/+55
metze
2011-11-24smbXcli: set message id to UINT64_MAX for BREAK in smb2cli_req_create()Stefan Metzmacher1-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-24smbXcli: rework smb2cli_req to smbXcli_conn/smbXcli_reqStefan Metzmacher1-168/+163
metze
2011-11-24libcli/smb: copy smb2cli_req_* code to smbXcli_base.cStefan Metzmacher1-0/+579
metze
2011-11-24smbXcli: rework smbXcli_base.c to use smbXcli_conn/smbXcli_reqStefan Metzmacher1-323/+765
This splits the low level smb code from 'struct cli_state' and makes it much more generic and useful for testing. metze
2011-11-24smbXcli: cp source3/libsmb/async_smb.c libcli/smb/smbXcli_base.cStefan Metzmacher1-0/+1118
metze