summaryrefslogtreecommitdiff
path: root/libcli/smb
AgeCommit message (Collapse)AuthorFilesLines
2012-08-04libcli/smb: pass hdr/len to smb_signing_check/sign_pdu() and skip the nbt headerStefan Metzmacher3-17/+25
metze
2012-08-04libcli/smb: change smb_signing to skip the NBT_HEADER_SIZE internallyStefan Metzmacher1-19/+24
metze
2012-08-01libcli/smb: move some TCON related defines to smb_constants.hStefan Metzmacher1-0/+13
metze
2012-08-01libcli/smb: remove unused smb2cli_session_application_key()Stefan Metzmacher2-21/+0
metze
2012-08-01libcli/smb: add smbXcli_session_application_key()Stefan Metzmacher2-0/+33
metze
2012-08-01libcli/smb: allow resetting of the smb1 application_keyStefan Metzmacher1-2/+6
We need this untill we have fixed all callers... metze
2012-08-01libcli/smb: let smb1cli_session_set_id() reset the application_keyStefan Metzmacher1-0/+1
We have some callers which reuse smbXcli_session, e.g. cli_state_set_uid() metze
2012-08-01libcli/smb: add smb1cli_session_set_session_key()Stefan Metzmacher2-0/+36
metze
2012-07-26libcli/smb: add basic session->smb2.channel_sequence handlingStefan Metzmacher2-0/+34
metze
2012-07-26libcli/smb: add SMB2_HDR_CHANNEL_SEQUENCEStefan Metzmacher1-0/+1
metze
2012-07-26libcli/smb: introduce a smb2cli_sessionStefan Metzmacher1-107/+93
This maintains the shared state between multiple session channels. metze
2012-07-26s3:libcli/smb: add SMB2_SESSION_FLAG_BINDINGStefan Metzmacher1-1/+4
metze
2012-07-25libcli/smb: setup tcon->smb2.should_encrypt in smb2cli_tcon_set_values()Stefan Metzmacher1-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-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2-0/+2
metze
2012-07-25libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher12-21/+4
It's a reserved field... metze
2012-07-25libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher12-70/+30
metze
2012-07-25libcli/smb: add smb2cli_tcon_capabilities()Stefan Metzmacher2-0/+6
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*()Stefan Metzmacher2-5/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()Stefan Metzmacher2-5/+11
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_info*()Stefan Metzmacher2-5/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_set_info*()Stefan Metzmacher2-13/+18
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_flush*()Stefan Metzmacher2-6/+12
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_write*()Stefan Metzmacher2-6/+12
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_read*()Stefan Metzmacher2-5/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_close*()Stefan Metzmacher2-5/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_create*()Stefan Metzmacher2-6/+12
metze
2012-07-24libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵Stefan Metzmacher3-18/+31
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-24libcli/smb: add smbXcli_tcon structureLuk Claes2-0/+108
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-24libcli/smb: pass down smbXcli_session to smb1cli_req_create/send() and ↵Stefan Metzmacher3-19/+31
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-23libcli/smb: introduce smb1.session for uid useLuk Claes2-0/+18
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-07-23libcli/smb: set should_encrypt = true if we got SMB2_SESSION_FLAG_ENCRYPT_DATAStefan Metzmacher1-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-23libcli/smb: encrypt SMB2 traffic if nedded/desired.Stefan Metzmacher1-3/+79
metze
2012-07-23libcli/smb: increment nbt_len, when we have the fully created the SMB2 PDUStefan Metzmacher1-1/+2
metze
2012-07-23libcli/smb: maintain smb2.should_sign on smbXcli_req_stateStefan Metzmacher1-26/+11
metze
2012-07-23libcli/smb: make use of SMB2_HDR_BODY as header sizeStefan Metzmacher1-1/+1
metze
2012-07-23libcli/smb: parse the SMB2_TRANSFORM header and decrypt the SMB2 pduStefan Metzmacher1-0/+63
metze
2012-07-23libcli/smb: create 4 iovecs per request in smb2cli_inbuf_parse_compound()Stefan Metzmacher1-16/+25
The first one might hold the SMB2_TRANSFORM Header later. metze
2012-07-23libcli/smb: prepare [en|de]cryption_key for SMB3Stefan Metzmacher1-0/+65
metze
2012-07-23libcli/smb: copy the application_key in smb2cli_session_create_channel()Stefan Metzmacher1-0/+6
metze
2012-07-23libcli/smb: check the buffer length in smbXcli_negprot_dispatch_incoming()Stefan Metzmacher1-1/+8
metze
2012-07-23libcli/smb: only pass the smb2 buffer to smb2cli_inbuf_parse_compound()Stefan Metzmacher1-12/+12
We should hide the transport as much as possible. metze
2012-07-23libcli/smb: add smb2_signing_[en|e]crypt_pdu()Stefan Metzmacher2-0/+141
metze
2012-07-23libcli/smb: construct the signing_key before forming the messageStefan Metzmacher1-31/+31
metze
2012-07-23libcli/smb: add SMB2_SESSION_FLAG_ENCRYPT_DATAStefan Metzmacher1-0/+1
metze
2012-07-23libcli/smb: add SMB2_TRANSFORM macrosStefan Metzmacher1-0/+15
metze
2012-06-29libcli/smb: add SMB2_CAP_DIRECTORY_LEASING to SMB2_CAP_ALLStefan Metzmacher1-0/+1
metze Signed-off-by: Michael Adam <obnox@samba.org>
2012-05-29libcli/smb: add some more FSCTL_* definesStefan Metzmacher1-0/+8
metze
2012-05-29s3:smb2cli_ioctl: fix requests without output_buffer.length > 0 against windowsStefan Metzmacher1-1/+1
This fixes DCERPC over SMB2 against windows servers. metze
2012-05-15libcli/smb: move smb2cli_ioctl.c from source3 to the toplevelBjörn Baumbach3-0/+370
Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue May 15 20:17:01 CEST 2012 on sn-devel-104
2012-05-15libcli/smb: move smb2cli_query_directory.c from source3 to the toplevelBjörn Baumbach3-0/+241
Signed-off-by: Stefan Metzmacher <metze@samba.org>