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-03-20 | libcli/smb: add SMB_CAP_LEGACY_CLIENT_MASK define | Stefan Metzmacher | 1 | -0/+10 | |
Older Samba releases (<= 3.6.x) expect the client to send CAP_LARGE_READX in order to let the client use large reads. 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 | 14 | -15/+15 | |
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 | 2 | -0/+29 | |
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> | |||||
2013-01-16 | smb2_ioctl: split ioctl handler code on device type | David Disseldorp | 1 | -0/+2 | |
Add per device type ioctl handler source files for FSCTL_DFS, FSCTL_FILESYSTEM, FSCTL_NAMED_PIPE and FSCTL_NETWORK_FILESYSTEM. Reviewed by: Jeremy Allison <jra@samba.org> | |||||
2012-12-21 | libcli: Fix smb2cli_ioctl_send() if clause. | Andreas Schneider | 1 | -1/+1 | |
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org> | |||||
2012-11-30 | Fix Bug 9422 - large read requests cause server to issue malformed reply | Volker Lendecke | 1 | -1/+1 | |
Reviewed by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Fri Nov 30 03:27:07 CET 2012 on sn-devel-104 | |||||
2012-11-01 | libcli/smb: add smbXcli_session_set_disconnect_expired() (bug #9175) | Stefan Metzmacher | 2 | -0/+35 | |
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-10-27 | libcli/smb: fix unitialized padding in smb2_create_blob_push_one() (bug #9209) | Stefan Metzmacher | 1 | -1/+1 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Oct 27 10:05:22 CEST 2012 on sn-devel-104 | |||||
2012-09-29 | libcli/smb: add smb1cli_echo* | Stefan Metzmacher | 3 | -0/+181 | |
metze | |||||
2012-09-29 | libcli/smb: add smb2cli_echo* | Stefan Metzmacher | 3 | -0/+130 | |
metze | |||||
2012-09-29 | libcli/smb: use an explicit TALLOC_FREE(subreq) in smb2cli_* | Stefan Metzmacher | 9 | -0/+9 | |
metze | |||||
2012-09-27 | Fix bug #9209 - Parse of invalid SMB2 create blob can cause smbd crash. | Jeremy Allison | 1 | -3/+2 | |
Ensure we correctly protect against blobs with data_offset==0 and data_length != 0. Jeremy. Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Sep 27 22:07:02 CEST 2012 on sn-devel-104 | |||||
2012-09-19 | libcli: add a define for the APP_INSTANCE_ID smb2 create context | Michael Adam | 1 | -0/+1 | |
2012-09-19 | libcli/smb: fix padding in smb2_create_blob* | Stefan Metzmacher | 1 | -11/+30 | |
metze | |||||
2012-08-25 | libcli/smb: split out a smb_transport private library | Stefan Metzmacher | 1 | -3/+15 | |
metze | |||||
2012-08-25 | libcli/smb: wscript_build => wscript | Stefan Metzmacher | 1 | -1/+2 | |
We'll need some configure checks in future. metze | |||||
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-08 | libcli/smb: smb2_signing_[en|de]crypt_pdu() check and set SMB2_TF_MSG_SIZE | Stefan Metzmacher | 1 | -6/+16 | |
metze | |||||
2012-08-07 | libcli/smb: use forward declaration instead of includes | Stefan Metzmacher | 1 | -3/+2 | |
metze | |||||
2012-08-06 | smbXcli: add some includes to fix compiler warnings | Christian Ambach | 1 | -0/+3 | |
if smbXcli_base.h is included on its own, there are various compiler warnings about implicitly declared struct iovec and smb2_create_blobs | |||||
2012-08-04 | libcli/smb: add smb1cli_session_protect_session_key() | Stefan Metzmacher | 2 | -0/+25 | |
metze | |||||
2012-08-04 | libcli/smb: add smb_key_derivation() for ↵ | Stefan Metzmacher | 2 | -1/+49 | |
TREE_CONNECT_ANDX_EXTENDED_SIGNATURES support metze | |||||
2012-08-04 | libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt header | Stefan Metzmacher | 3 | -17/+25 | |
metze | |||||
2012-08-04 | libcli/smb: change smb_signing to skip the NBT_HEADER_SIZE internally | Stefan Metzmacher | 1 | -19/+24 | |
metze | |||||
2012-08-01 | libcli/smb: move some TCON related defines to smb_constants.h | Stefan Metzmacher | 1 | -0/+13 | |
metze | |||||
2012-08-01 | libcli/smb: remove unused smb2cli_session_application_key() | Stefan Metzmacher | 2 | -21/+0 | |
metze | |||||
2012-08-01 | libcli/smb: add smbXcli_session_application_key() | Stefan Metzmacher | 2 | -0/+33 | |
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 | 2 | -0/+36 | |
metze | |||||
2012-07-26 | libcli/smb: add basic session->smb2.channel_sequence handling | Stefan Metzmacher | 2 | -0/+34 | |
metze | |||||
2012-07-26 | libcli/smb: add SMB2_HDR_CHANNEL_SEQUENCE | Stefan Metzmacher | 1 | -0/+1 | |
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-26 | s3:libcli/smb: add SMB2_SESSION_FLAG_BINDING | Stefan Metzmacher | 1 | -1/+4 | |
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 | 2 | -0/+2 | |
metze | |||||
2012-07-25 | libcli/smb: there's no PID field in the SMB2/3 header anymore | Stefan Metzmacher | 12 | -21/+4 | |
It's a reserved field... metze | |||||
2012-07-25 | libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send() | Stefan Metzmacher | 12 | -70/+30 | |
metze | |||||
2012-07-25 | libcli/smb: add smb2cli_tcon_capabilities() | Stefan Metzmacher | 2 | -0/+6 | |
metze | |||||
2012-07-24 | libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*() | Stefan Metzmacher | 2 | -5/+10 | |
metze | |||||
2012-07-24 | libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*() | Stefan Metzmacher | 2 | -5/+11 | |
metze | |||||
2012-07-24 | libcli/smb: pass smbXcli_tcon to smb2cli_query_info*() | Stefan Metzmacher | 2 | -5/+10 | |
metze |