summaryrefslogtreecommitdiff
path: root/source3/libsmb/smb2cli_negprot.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-08-12 17:26:13 +0200
committerStefan Metzmacher <metze@samba.org>2011-08-12 19:38:27 +0200
commiteeb0298ac1ba70d5114b48d7de4549e80d83e709 (patch)
treed4d02093d9baf9deb0e03d4ee88aeaf46badaa95 /source3/libsmb/smb2cli_negprot.c
parent28c4d2d0f318d017e356cf8e80ff0da516346fee (diff)
downloadsamba-eeb0298ac1ba70d5114b48d7de4549e80d83e709.tar.gz
samba-eeb0298ac1ba70d5114b48d7de4549e80d83e709.tar.bz2
samba-eeb0298ac1ba70d5114b48d7de4549e80d83e709.zip
s3:smb2cli: pass more fields to smb2cli_req_create()/smb2cli_req_send()
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
Diffstat (limited to 'source3/libsmb/smb2cli_negprot.c')
-rw-r--r--source3/libsmb/smb2cli_negprot.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_negprot.c b/source3/libsmb/smb2cli_negprot.c
index 305632283f..75532cd477 100644
--- a/source3/libsmb/smb2cli_negprot.c
+++ b/source3/libsmb/smb2cli_negprot.c
@@ -66,7 +66,10 @@ struct tevent_req *smb2cli_negprot_send(TALLOC_CTX *mem_ctx,
SSVAL(buf, 0, 0x202); /* SMB2.002 */
SSVAL(buf, 2, 0x210); /* SMB2.1 */
- subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_NEGPROT, 0,
+ subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_NEGPROT,
+ 0, 0, /* flags */
+ cli->smb2.pid,
+ 0, 0, /* tid, uid */
state->fixed, sizeof(state->fixed),
state->dyn, sizeof(state->dyn));
if (tevent_req_nomem(subreq, req)) {