summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/smb2cli_tcon.c
Commit message (Collapse)AuthorAgeFilesLines
* libcli/smb: move smb2cli_tcon.c to the toplevelStefan Metzmacher2014-09-301-291/+0
| | | | | | | removing use of cli_state from the code. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:smb2cli_tcon: use smb2 signing if possibleStefan Metzmacher2014-09-301-1/+7
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:libsmb: remove unused ';'Stefan Metzmacher2014-09-301-1/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:libsmb: only set tcon to invalid in smb2cli_tdis*Stefan Metzmacher2013-08-151-1/+2
| | | | | | | This matches the behavior of cli_tdis*. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* libcli/smb: pass max_dyn_len to smb2cli_req_send()Stefan Metzmacher2013-08-151-2/+4
| | | | | | | | 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>
* s3:libsmb: make use of samba_tevent_context_init()Stefan Metzmacher2013-02-191-2/+2
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* s3:libsmb: use smbXcli_conn_remote_name() in smb2_tcon_send()Stefan Metzmacher2012-09-291-4/+2
| | | | | | | metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Sat Sep 29 11:52:43 CEST 2012 on sn-devel-104
* libcli/smb: pass smbXcli_session to smb2cli_tcon_set_values()Stefan Metzmacher2012-07-251-0/+1
| | | | metze
* libcli/smb: there's no PID field in the SMB2/3 header anymoreStefan Metzmacher2012-07-251-2/+0
| | | | | | It's a reserved field... metze
* libcli/smb: pass smbXcli_tcon to smb2cli_req_create/send()Stefan Metzmacher2012-07-251-7/+2
| | | | metze
* s3:libsmb: remove unused tcon specific elements from cli_state->smb2Stefan Metzmacher2012-07-251-11/+13
| | | | metze
* s3:libsmb: remove cli_state->smb2.tidStefan Metzmacher2012-07-251-4/+9
| | | | metze
* s3:libsmb: setup a smbXcli_tcon for SMB2Stefan Metzmacher2012-07-241-0/+14
| | | | metze
* s3:libsmb: get rid of cli_has_async_callsLuk Claes2012-05-281-2/+2
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: get rid of cli_state_*_sockaddrLuk Claes2012-05-281-1/+1
| | | | | Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:libsmb: s/\<event_context/tevent_context/gc in smb2cli_tcon.cStefan Metzmacher2012-05-141-4/+4
| | | | metze
* s3:libsmb: use 'state' instead of 'talloc_tos()' in smb2cli_tcon*Stefan Metzmacher2012-05-061-2/+2
| | | | metze
* s3:libsmb: remove unused reference to talloc_tos()Stefan Metzmacher2012-05-061-2/+1
| | | | metze
* s3:smb2cli: zero tid in smb2cli_tdis*Stefan Metzmacher2011-11-241-0/+6
| | | | metze
* s3:smb2cli: pass struct smbXcli_conn directly to smb2cli_req_create/_send()Stefan Metzmacher2011-11-241-3/+3
| | | | metze
* s3:smb2cli: make use of smbXcli_session and setup the session key for SMB2 ↵Stefan Metzmacher2011-11-241-2/+2
| | | | | | signing metze
* s3:smb2cli: pass timeout to smb2cli_req_create/send()Stefan Metzmacher2011-09-181-0/+2
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 07:04:05 CEST 2011 on sn-devel-104
* s3:smb2cli: pass an array of expected status/body_size pairs to ↵Stefan Metzmacher2011-09-181-2/+16
| | | | | | | | | smb2cli_req_recv() This gives the caller more control and correctly reports unexpected errors to the caller, instead of return NT_STATUS_INVALID_NETWOR_RESPONSE metze
* s3:libsmb: don't mix smb2 share capabilities with smb1 capabilitiesStefan Metzmacher2011-09-131-1/+1
| | | | metze
* s3:smb2cli: don't terminate the pathname in smb2cli_tcon()Stefan Metzmacher2011-09-071-1/+6
| | | | | | Windows generates NT_STATUS_BAD_NETWORK_NAME otherwise. metze
* s3:smb2cli: SMB2_TCON needs one dyn byte to that the structure size check works.Stefan Metzmacher2011-09-071-0/+6
| | | | | | Windows generates NT_STATUS_INVALID_PARAMETER otherwise. metze
* s3:smb2cli: pass more fields to smb2cli_req_create()/smb2cli_req_send()Stefan Metzmacher2011-08-121-2/+10
| | | | | | | | | The caller should take care of the global cli_state values. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 19:38:27 CEST 2011 on sn-devel-104
* s3:libsmb: use cli_state_remote_sockaddr() in smb2cli_tcon_send()Stefan Metzmacher2011-07-221-1/+1
| | | | metze
* s3:smb2cli_tcon: use tevent_req_oom()Stefan Metzmacher2011-07-101-1/+1
| | | | metze
* s3:libsmb: add smb2cli_tcon*() and smb2cli_tdis*()Stefan Metzmacher2011-07-081-0/+229
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze