summaryrefslogtreecommitdiff
path: root/libcli/smb/smbXcli_base.h
AgeCommit message (Collapse)AuthorFilesLines
2013-08-21As SMB3 has transport level encryption, allow smbclient -e to force encryted ↵Jeremy Allison1-0/+1
SMB3 transport. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
2013-08-15libcli/smb: add smb2cli_conn_req_possible()Stefan Metzmacher1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-08-15libcli/smb: add smb1cli_conn_req_possible()Stefan Metzmacher1-0/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-08-15libcli/smb: pass max_dyn_len to smb2cli_req_send()Stefan Metzmacher1-1/+2
This way we can calculate the correct credit charge for requests with large output buffers. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-08-15libcli/smb: pass max_dyn_len to smb2cli_req_create()Stefan Metzmacher1-1/+2
Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-08-15libcli/smb: Change smb2cli_create() and smb2cli_create_recv() to return a ↵Jeremy Allison1-2/+5
parameter blob of the newly opened/created file. Will use in the smb2 client code. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-08-15libcli/smb: Fix smb2cli_write_recv() and smb2cli_write() to return the bytes ↵Jeremy Allison1-2/+4
written. Signed-off-by: Jeremy Allison <jra@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2013-01-30Add new function smbXcli_session_copy(), to be used when creating compound ↵Jeremy Allison1-0/+2
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-01libcli/smb: add smbXcli_session_set_disconnect_expired() (bug #9175)Stefan Metzmacher1-0/+1
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-09-29libcli/smb: add smb1cli_echo*Stefan Metzmacher1-0/+10
metze
2012-09-29libcli/smb: add smb2cli_echo*Stefan Metzmacher1-0/+8
metze
2012-08-07libcli/smb: use forward declaration instead of includesStefan Metzmacher1-3/+2
metze
2012-08-06smbXcli: add some includes to fix compiler warningsChristian Ambach1-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-04libcli/smb: add smb1cli_session_protect_session_key()Stefan Metzmacher1-0/+1
metze
2012-08-01libcli/smb: remove unused smb2cli_session_application_key()Stefan Metzmacher1-3/+0
metze
2012-08-01libcli/smb: add smbXcli_session_application_key()Stefan Metzmacher1-0/+3
metze
2012-08-01libcli/smb: add smb1cli_session_set_session_key()Stefan Metzmacher1-0/+2
metze
2012-07-26libcli/smb: add basic session->smb2.channel_sequence handlingStefan Metzmacher1-0/+1
metze
2012-07-25libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher1-0/+1
metze
2012-07-25libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher1-2/+0
It's a reserved field... metze
2012-07-25libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher1-2/+2
metze
2012-07-25libcli/smb: add smb2cli_tcon_capabilities()Stefan Metzmacher1-0/+1
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_ioctl*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_query_info*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_set_info*()Stefan Metzmacher1-10/+10
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_flush*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_write*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_read*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_close*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass smbXcli_tcon to smb2cli_create*()Stefan Metzmacher1-2/+2
metze
2012-07-24libcli/smb: pass down smbXcli_tcon to smb1cli_req_create/send() and ↵Stefan Metzmacher1-4/+6
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 Claes1-0/+19
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 Metzmacher1-4/+6
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 Claes1-0/+3
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15libcli/smb: move smb2cli_ioctl.c from source3 to the toplevelBjörn Baumbach1-0/+34
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 Baumbach1-0/+32
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15libcli/smb: move smb2cli_query_info.c from source3 to the toplevelBjörn Baumbach1-0/+32
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15libcli/smb: move smb2cli_set_info.c from source3 to the toplevelBjörn Baumbach1-0/+24
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15libcli/smb: move smb2cli_flush.c from source3 to the toplevelBjörn Baumbach1-0/+16
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15libcli/smb: move smb2cli_write.c from source3 to the toplevelBjörn Baumbach1-0/+26
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15libcli/smb: move smb2cli_read.c from source3 to the toplevelBjörn Baumbach1-0/+28
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2012-05-15libcli/smb: move smb2cli_close.c from source3 to the toplevelStefan Metzmacher1-0/+18
metze
2012-05-15libcli/smb: move smb2cli_create.c from source3 to the toplevelStefan Metzmacher1-0/+35
metze
2012-05-14libcli/smb: move smb2cli_logoff_* from source3 to the top levelStefan Metzmacher1-0/+10
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon May 14 17:02:46 CEST 2012 on sn-devel-104
2012-04-16libcli/smb: move smb2cli_session_setup_*() prototypes to the code.Stefan Metzmacher1-0/+15
metze
2012-04-16libcli/smb: add smb2cli_session_get_flags()Stefan Metzmacher1-0/+1
metze
2012-03-03smbXcli: add the possiblilty to negotiate client capabilites in smb >= 2.2Michael Adam1-1/+2
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
2012-02-27libcli/smb/smbXcli: add smb2cli_session_application_key()Stefan Metzmacher1-0/+3
metze
2012-02-27libcli/smb/smbXcli: maintain smb2 channel_signing_key separate from the ↵Stefan Metzmacher1-3/+6
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