summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-10 18:37:43 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-12 00:46:30 +0200
commit50d88c96bc03206b59a882669ab13f763945d41f (patch)
tree9245ad36c7f3741d18915a376e4beec294622770 /source3/torture
parent5f4a009f4fe366ed13c1c681595ae95554643768 (diff)
downloadsamba-50d88c96bc03206b59a882669ab13f763945d41f.tar.gz
samba-50d88c96bc03206b59a882669ab13f763945d41f.tar.bz2
samba-50d88c96bc03206b59a882669ab13f763945d41f.zip
s3/libsmb: Generalise cli_state in smb2 query_directory calls
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/test_smb2.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index a8f7cd421e..8ce0ad84e7 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -151,7 +151,8 @@ bool run_smb2_basic(int dummy)
}
status = smb2cli_query_directory(
- cli, 1, 0, 0, fid_persistent, fid_volatile, "*", 0xffff,
+ cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tid,
+ 1, 0, 0, fid_persistent, fid_volatile, "*", 0xffff,
talloc_tos(), &dir_data, &dir_data_length);
if (!NT_STATUS_IS_OK(status)) {
@@ -1485,7 +1486,8 @@ bool run_smb2_session_reauth(int dummy)
}
status = smb2cli_query_directory(
- cli, 1, 0x3, 0, dir_persistent, dir_volatile,
+ cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tid,
+ 1, 0x3, 0, dir_persistent, dir_volatile,
"session-reauth.txt", 0xffff,
talloc_tos(), &dir_data, &dir_data_length);
if (!NT_STATUS_IS_OK(status)) {
@@ -1579,7 +1581,8 @@ bool run_smb2_session_reauth(int dummy)
}
status = smb2cli_query_directory(
- cli, 1, 0x3, 0, dir_persistent, dir_volatile,
+ cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tid,
+ 1, 0x3, 0, dir_persistent, dir_volatile,
"session-reauth.txt", 0xffff,
talloc_tos(), &dir_data, &dir_data_length);
if (!NT_STATUS_IS_OK(status)) {
@@ -1830,7 +1833,8 @@ bool run_smb2_session_reauth(int dummy)
}
status = smb2cli_query_directory(
- cli, 1, 0x3, 0, dir_persistent, dir_volatile,
+ cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tid,
+ 1, 0x3, 0, dir_persistent, dir_volatile,
"session-reauth.txt", 0xffff,
talloc_tos(), &dir_data, &dir_data_length);
if (!NT_STATUS_IS_OK(status)) {