Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-04-16 | libcli/smb: add smb2cli_session_get_flags() | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2012-04-16 | libcli/smb: we should not force a session key for anonymous connections | Stefan Metzmacher | 1 | -4/+4 | |
smb2cli_session_set_session_key() should not check for a valid session key, if the connection is a guest or null session. metze | |||||
2012-04-16 | libcli/smb: make use of data_blob_string_const_null() | Stefan Metzmacher | 1 | -12/+6 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Apr 16 12:21:17 CEST 2012 on sn-devel-104 | |||||
2012-03-03 | smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2 | Michael Adam | 1 | -2/+9 | |
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> | |||||
2012-02-29 | libcli/smb/smb2_signing: rename smb2_key_deviration -> smb2_key_derivation | Michael Adam | 1 | -3/+3 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Feb 29 09:01:54 CET 2012 on sn-devel-104 | |||||
2012-02-29 | libcli/smb/smbXcli: use smb2_key_deviration() to setup SMB 2.24 keys | Stefan Metzmacher | 1 | -2/+41 | |
This uses the key diveration function from "NIST Special Publication 800-108" in counter mode (section 5.1). Thanks to Jeremy, Michael and Volker for the debugging! metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Feb 29 04:54:48 CET 2012 on sn-devel-104 | |||||
2012-02-27 | libcli/smb/smb2_signing: pass down 'protocol' to smb2_signing_[sign|check]_pdu() | Stefan Metzmacher | 1 | -1/+6 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Feb 27 14:26:32 CET 2012 on sn-devel-104 | |||||
2012-02-27 | libcli/smb/smbXcli: remove unused if statement from ↵ | Stefan Metzmacher | 1 | -3/+1 | |
smb2cli_conn_dispatch_incoming() metze | |||||
2012-02-27 | libcli/smb/smbXcli: add smb2cli_session_application_key() | Stefan Metzmacher | 1 | -0/+25 | |
metze | |||||
2012-02-27 | libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵ | Stefan Metzmacher | 1 | -55/+125 | |
signing_key The signing_key is fix across all channels and is used for session setups on a channel binding. Note: - the last session setup response is signed with the new channel signing key. - the reauth session setups are signed with the channel signing key. It's also not needed to remember the main session key. metze | |||||
2012-02-27 | libcli/smb/smbXcli: remove unused checks from smb2cli_session_create_channel() | Stefan Metzmacher | 1 | -11/+0 | |
metze | |||||
2012-01-31 | libcli/smb: Convert struct smb_trans_enc_state to talloc | Andrew Bartlett | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-01-27 | libcli/smb: fix smbXcli_negprot(..., PROTOCOL_NT1, PROTOCOL_SMB2_02) | Stefan Metzmacher | 1 | -3/+6 | |
The SMB1 negprot request already consumed the SMB2 sequence '0'. This also happens for the SMB 2.02 case. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jan 27 15:27:41 CET 2012 on sn-devel-104 | |||||
2012-01-05 | libcli/smb: Add smbXcli_conn_samba_suicide | Volker Lendecke | 1 | -0/+97 | |
This is a pure test tool against Samba servers | |||||
2011-12-22 | libcli/smb: add PROTOCOL_SMB2_24 support | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-11-29 | smbXcli: add support for SMBreadBraw | Stefan Metzmacher | 1 | -7/+54 | |
metze | |||||
2011-11-29 | smbXcli: add smb1cli_conn_server_{readbraw,writebraw,lockread,writeunlock}() | Stefan Metzmacher | 1 | -0/+20 | |
metze | |||||
2011-11-29 | smbXcli: rebuild smb1.recv_iov array if we expect more than one response | Stefan Metzmacher | 1 | -0/+29 | |
metze | |||||
2011-11-29 | smbXcli: allow up to 10 iovec elements for the bytes in smb1cli_req_create() | Stefan Metzmacher | 1 | -1/+1 | |
The smb1cli_trans_* code uses up to 6 elements, which was too much for the current limit of 5. metze | |||||
2011-11-29 | smbXcli: s/smb2cli_writev_done/smb2cli_req_writev_done | Stefan Metzmacher | 1 | -3/+3 | |
This is a better name and it matches smb1cli_req_writev_done metze | |||||
2011-11-29 | smbXcli: call tevent_queue_stop() for the outgoing queue on disconnect | Stefan Metzmacher | 1 | -0/+2 | |
metze | |||||
2011-11-29 | smbXcli: use talloc_stackframe() instead of talloc_tos() in smb1cli_conn_signv() | Stefan Metzmacher | 1 | -2/+5 | |
metze | |||||
2011-11-28 | Fix Coverity ID 2638: OVERRUN_STATIC | Volker Lendecke | 1 | -1/+1 | |
2011-11-28 | Fix Coverity ID 2639: UNUSED_VALUE | Volker Lendecke | 1 | -2/+0 | |
2011-11-24 | s3:libsmb: Fix a typo | Volker Lendecke | 1 | -1/+1 | |
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: add smb2cli_req_set_notify_async() | Stefan Metzmacher | 1 | -0/+23 | |
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 | 1 | -5/+89 | |
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 | 1 | -4/+10 | |
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 | 1 | -0/+140 | |
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 | 1 | -5/+64 | |
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 | 1 | -1/+6 | |
metze | |||||
2011-11-24 | smbXcli: add smbXcli_negprot_* | Stefan Metzmacher | 1 | -0/+803 | |
This supports negotiation of any SMB1 or SMB2 dialect. metze | |||||
2011-11-24 | smbXcli: add helper functions to access the negotiated features | Stefan Metzmacher | 1 | -0/+95 | |
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 | 1 | -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-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 |