summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_base.c
AgeCommit message (Collapse)AuthorFilesLines
2011-09-30s3: Fix an uninitialized variable warningVolker Lendecke1-1/+1
2011-09-29s3:smb2cli: fix the num_expected == 0 logic in smb2cli_req_recv()Stefan Metzmacher1-3/+7
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Thu Sep 29 22:15:06 CEST 2011 on sn-devel-104
2011-09-18s3:smb2cli: pass timeout to smb2cli_req_create/send()Stefan Metzmacher1-0/+12
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sun Sep 18 07:04:05 CEST 2011 on sn-devel-104
2011-09-18s3:smb2cli: pass an array of expected status/body_size pairs to ↵Stefan Metzmacher1-4/+47
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
2011-09-18s3:smb2cli: only use tevent_req_defer_callback() if we have more than one ↵Stefan Metzmacher1-1/+12
smb2 response metze
2011-09-18s3:smb2cli: ignore async interim responses and store the async_idStefan Metzmacher1-0/+12
metze
2011-09-18s3:smb2cli: check the response has the SMB2_HDR_FLAG_REDIRECT flagStefan Metzmacher1-0/+8
metze
2011-09-18s3:smb2cli: validate the opcode from the server is as expectedStefan Metzmacher1-3/+14
metze
2011-09-18s3:smb2cli: initialize status if we got an unexpected responseStefan Metzmacher1-0/+1
metze
2011-09-07s3:smb2cli: let smb2cli_req_create() use the give pid, uid and tid valuesStefan Metzmacher1-3/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Sep 7 18:19:43 CEST 2011 on sn-devel-104
2011-09-05s3:smb2cli: make sure we don't try to send requests on a disconnected cli_stateStefan Metzmacher1-0/+5
metze
2011-09-05s3:smb2cli: make sure requests are not finished, when we send when to the ↵Stefan Metzmacher1-0/+4
network metze
2011-09-05s3:smb2cli: disconnect the connection, if we're out of message idsStefan Metzmacher1-1/+15
metze
2011-09-05s3:smb2cli: don't use state->cli->smb2.mid++ as macro argumentStefan Metzmacher1-1/+5
It gets expanded multiple times. metze
2011-08-12s3:smb2cli: pass more fields to smb2cli_req_create()/smb2cli_req_send()Stefan Metzmacher1-3/+17
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
2011-08-12s3:smb2cli: allow 32bit dyn_len in smb2cli_req_create()/smb2cli_req_send()Stefan Metzmacher1-3/+3
metze
2011-08-02s3:smb2cli_base: smb2cli_req_send() needs to call tevent_req_post() on errorStefan Metzmacher1-1/+1
metze
2011-07-22s3:libsmb: move cli_state->fd to cli_state->conn.fdStefan Metzmacher1-6/+6
metze
2011-07-22s3:libsmb: move cli_state->outgoing to cli_state->conn.outgoingStefan Metzmacher1-1/+1
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Jul 22 09:53:59 CEST 2011 on sn-devel-104
2011-07-22s3:libsmb: move cli_state->pending to cli_state->conn.pendingStefan Metzmacher1-21/+22
metze
2011-07-11s3:smb2cli_base: add my copyrightStefan Metzmacher1-0/+1
metze
2011-07-09s3:smb2cli_base: ask for the next response if there're still pending requestsStefan Metzmacher1-1/+21
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Sat Jul 9 13:55:04 CEST 2011 on sn-devel-104
2011-07-09s3:smb2cli_base: make use of tevent_req_defer_callback()Stefan Metzmacher1-28/+64
In order to notify requests of transport layer errors, we need to defer the triggering of the callbacks, otherwise we may crash, if one of the callbacks destroys the cli_state. metze
2011-07-09s3:smb2cli_base: fix memory hierachy in smb2cli_req_recv()Stefan Metzmacher1-18/+34
We need to use talloc_reference() if there're more than one response, but we use it in a way that the caller can't call talloc_free() or talloc_unlink() on it. metze
2011-07-09s3:smb2cli_base: call smb2cli_req_unset_pending() before tevent_req_done()Stefan Metzmacher1-0/+1
metze
2011-07-09s3:smb2cli_base: unset the destructor in smb2cli_req_unset_pending()Stefan Metzmacher1-2/+3
metze
2011-07-09s3:smb2cli_base: keep the order of pending requestsStefan Metzmacher1-2/+2
metze
2011-07-09s3:smb2cli_base: rename 'result' => 'req' in smb2cli_req_create()Stefan Metzmacher1-13/+13
metze
2011-07-08s3:libsmb: add basic smb2 client infrastructureStefan Metzmacher1-0/+531
Based on the initial patch from Volker Lendecke <vl@samba.org>. metze