Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-03-20 | libcli/smb: smb1cli_inbuf_parse_chain() and smb1cli_conn_dispatch_incoming() ↵ | Jeremy Allison | 1 | -2/+2 | |
should use smb_len_tcp. They have to cope with large READX call replies that have a length greater than smb_len_nbt() can handle. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> | |||||
2013-03-20 | libcli/smb: defer failing for missing NEGOTIATE_SECURITY_SIGNATURES_ENABLED | Stefan Metzmacher | 1 | -0/+9 | |
Windows servers take a look at the FLAGS2_SMB_SECURITY_SIGNATURES_REQUIRED flag during a session setup and turn on signing if the client requires it. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> | |||||
2013-02-19 | libcli/smb: make use of samba_tevent_context_init() | Stefan Metzmacher | 1 | -2/+2 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2013-01-30 | Add new function smbXcli_session_copy(), to be used when creating compound ↵ | Jeremy Allison | 1 | -0/+27 | |
SMB2 requests. Copies the signing state needed to make client compound requests work on signed connections. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Richard Sharpe <realrichardsharpe@gmail.com> | |||||
2012-11-01 | libcli/smb: add smbXcli_session_set_disconnect_expired() (bug #9175) | Stefan Metzmacher | 1 | -0/+34 | |
This should be a short term hack until the upper layers have implemented re-authentication. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> | |||||
2012-08-17 | libcli/smb: make sure the SMB2_TRANSFORM pdu is complete | Stefan Metzmacher | 1 | -3/+12 | |
metze | |||||
2012-08-16 | libcli/smb: support broken OS/2 error responses bug #9096 | Stefan Metzmacher | 1 | -3/+57 | |
OS/2 skips the DATA Block in SMB1 responses. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 16 13:16:49 CEST 2012 on sn-devel-104 | |||||
2012-08-15 | libcli/smb: verify decrypted SMB2 pdus correctly | Stefan Metzmacher | 1 | -2/+38 | |
We need to make sure we got a encrypted response if we asked for it. If we don't get a encrypted response, we use a similar logic as with signing to propagated wellknown errors to the higher layer and set state->smb2.signing_skipped = true. metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Aug 15 16:26:26 CEST 2012 on sn-devel-104 | |||||
2012-08-15 | libcli/smb: fix parsing of compounded messages within a SMB2_TRANSFORM pdu | Stefan Metzmacher | 1 | -5/+12 | |
One SMB2_TRANSFORM pdu wraps multiple SMB2 pdus. We inject the SMB2_TRANSFORM header to each response which was wrapped inside. This allows the next layer to verify if the SMB2 pdu was encrypted. metze | |||||
2012-08-15 | libcli/smb: fix smb2cli_req_compound_submit for multiple encrypted messages | Stefan Metzmacher | 1 | -63/+104 | |
There should be only one SMB2_TRANSFORM header for all compound requests. metze | |||||
2012-08-15 | libcli/smb: all flags except SMB2_HDR_FLAG_ASYNC should be cleared in a ↵ | Stefan Metzmacher | 1 | -0/+6 | |
cancel request. metze | |||||
2012-08-08 | libcli/smb: do not set SMB2_TF_MSG_SIZE in the caller | Stefan Metzmacher | 1 | -3/+0 | |
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Aug 8 07:32:55 CEST 2012 on sn-devel-104 | |||||
2012-08-04 | libcli/smb: add smb1cli_session_protect_session_key() | Stefan Metzmacher | 1 | -0/+24 | |
metze | |||||
2012-08-04 | libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt header | Stefan Metzmacher | 1 | -9/+17 | |
metze | |||||
2012-08-01 | libcli/smb: remove unused smb2cli_session_application_key() | Stefan Metzmacher | 1 | -18/+0 | |
metze | |||||
2012-08-01 | libcli/smb: add smbXcli_session_application_key() | Stefan Metzmacher | 1 | -0/+30 | |
metze | |||||
2012-08-01 | libcli/smb: allow resetting of the smb1 application_key | Stefan Metzmacher | 1 | -2/+6 | |
We need this untill we have fixed all callers... metze | |||||
2012-08-01 | libcli/smb: let smb1cli_session_set_id() reset the application_key | Stefan Metzmacher | 1 | -0/+1 | |
We have some callers which reuse smbXcli_session, e.g. cli_state_set_uid() metze | |||||
2012-08-01 | libcli/smb: add smb1cli_session_set_session_key() | Stefan Metzmacher | 1 | -0/+34 | |
metze | |||||
2012-07-26 | libcli/smb: add basic session->smb2.channel_sequence handling | Stefan Metzmacher | 1 | -0/+33 | |
metze | |||||
2012-07-26 | libcli/smb: introduce a smb2cli_session | Stefan Metzmacher | 1 | -107/+93 | |
This maintains the shared state between multiple session channels. metze | |||||
2012-07-25 | libcli/smb: setup tcon->smb2.should_encrypt in smb2cli_tcon_set_values() | Stefan Metzmacher | 1 | -1/+16 | |
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Wed Jul 25 16:44:22 CEST 2012 on sn-devel-104 | |||||
2012-07-25 | libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-07-25 | libcli/smb: there's no PID field in the SMB2/3 header anymore | Stefan Metzmacher | 1 | -8/+4 | |
It's a reserved field... metze | |||||
2012-07-25 | libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send() | Stefan Metzmacher | 1 | -12/+17 | |
metze | |||||
2012-07-25 | libcli/smb: add smb2cli_tcon_capabilities() | Stefan Metzmacher | 1 | -0/+5 | |
metze | |||||
2012-07-24 | libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵ | Stefan Metzmacher | 1 | -6/+12 | |
smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 21:22:44 CEST 2012 on sn-devel-104 | |||||
2012-07-24 | libcli/smb: add smbXcli_tcon structure | Luk Claes | 1 | -0/+89 | |
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-07-24 | libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵ | Stefan Metzmacher | 1 | -7/+12 | |
smb1cli_trans* metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Tue Jul 24 00:08:58 CEST 2012 on sn-devel-104 | |||||
2012-07-23 | libcli/smb: introduce smb1.session for uid use | Luk Claes | 1 | -0/+15 | |
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2012-07-23 | libcli/smb: set should_encrypt = true if we got SMB2_SESSION_FLAG_ENCRYPT_DATA | Stefan Metzmacher | 1 | -2/+15 | |
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Mon Jul 23 20:14:07 CEST 2012 on sn-devel-104 | |||||
2012-07-23 | libcli/smb: encrypt SMB2 traffic if nedded/desired. | Stefan Metzmacher | 1 | -3/+79 | |
metze | |||||
2012-07-23 | libcli/smb: increment nbt_len, when we have the fully created the SMB2 PDU | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2012-07-23 | libcli/smb: maintain smb2.should_sign on smbXcli_req_state | Stefan Metzmacher | 1 | -26/+11 | |
metze | |||||
2012-07-23 | libcli/smb: make use of SMB2_HDR_BODY as header size | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-07-23 | libcli/smb: parse the SMB2_TRANSFORM header and decrypt the SMB2 pdu | Stefan Metzmacher | 1 | -0/+63 | |
metze | |||||
2012-07-23 | libcli/smb: create 4 iovecs per request in smb2cli_inbuf_parse_compound() | Stefan Metzmacher | 1 | -16/+25 | |
The first one might hold the SMB2_TRANSFORM Header later. metze | |||||
2012-07-23 | libcli/smb: prepare [en|de]cryption_key for SMB3 | Stefan Metzmacher | 1 | -0/+65 | |
metze | |||||
2012-07-23 | libcli/smb: copy the application_key in smb2cli_session_create_channel() | Stefan Metzmacher | 1 | -0/+6 | |
metze | |||||
2012-07-23 | libcli/smb: check the buffer length in smbXcli_negprot_dispatch_incoming() | Stefan Metzmacher | 1 | -1/+8 | |
metze | |||||
2012-07-23 | libcli/smb: only pass the smb2 buffer to smb2cli_inbuf_parse_compound() | Stefan Metzmacher | 1 | -12/+12 | |
We should hide the transport as much as possible. metze | |||||
2012-07-23 | libcli/smb: construct the signing_key before forming the message | Stefan Metzmacher | 1 | -31/+31 | |
metze | |||||
2012-05-06 | libcli/smb/smbXcli: add support for PROTOCOL_SMB3_00 | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
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 |