summaryrefslogtreecommitdiffstats
path: root/source3/libsmb/smb2cli_create.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_create.c
parent28c4d2d0f318d017e356cf8e80ff0da516346fee (diff)
downloadsamba-eeb0298ac1ba70d5114b48d7de4549e80d83e709.tar.gz
samba-eeb0298ac1ba70d5114b48d7de4549e80d83e709.tar.xz
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_create.c')
-rw-r--r--source3/libsmb/smb2cli_create.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_create.c b/source3/libsmb/smb2cli_create.c
index 794b1f1bff8..ecb220d4ac3 100644
--- a/source3/libsmb/smb2cli_create.c
+++ b/source3/libsmb/smb2cli_create.c
@@ -127,7 +127,11 @@ struct tevent_req *smb2cli_create_send(
data_blob_free(&blob);
}
- subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_CREATE, 0,
+ subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_CREATE,
+ 0, 0, /* flags */
+ cli->smb2.pid,
+ cli->smb2.tid,
+ cli->smb2.uid,
state->fixed, sizeof(state->fixed),
dyn, dyn_len);
if (tevent_req_nomem(subreq, req)) {