diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-08-12 17:26:13 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-08-12 19:38:27 +0200 |
commit | eeb0298ac1ba70d5114b48d7de4549e80d83e709 (patch) | |
tree | d4d02093d9baf9deb0e03d4ee88aeaf46badaa95 /source3/libsmb/smb2cli_query_directory.c | |
parent | 28c4d2d0f318d017e356cf8e80ff0da516346fee (diff) | |
download | samba-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_query_directory.c')
-rw-r--r-- | source3/libsmb/smb2cli_query_directory.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/source3/libsmb/smb2cli_query_directory.c b/source3/libsmb/smb2cli_query_directory.c index f9a1bfe4ee..3feaa07abb 100644 --- a/source3/libsmb/smb2cli_query_directory.c +++ b/source3/libsmb/smb2cli_query_directory.c @@ -75,7 +75,11 @@ struct tevent_req *smb2cli_query_directory_send(TALLOC_CTX *mem_ctx, SSVAL(fixed, 26, dyn_len); SSVAL(fixed, 28, outbuf_len); - subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_FIND, 0, + subreq = smb2cli_req_send(state, ev, cli, SMB2_OP_FIND, + 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)) { |