summaryrefslogtreecommitdiffstats
path: root/source3/torture
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2012-07-23 22:32:49 +0200
committerStefan Metzmacher <metze@samba.org>2012-07-24 22:20:06 +0200
commit51af8b9600630e2310f0dc2780a06f24b88f3cb5 (patch)
tree2bb55c8b4b8fa3e6c63500b7ce13be72d4d43667 /source3/torture
parent370e7140bb67f84b87e17e2e83076a94b430916e (diff)
downloadsamba-51af8b9600630e2310f0dc2780a06f24b88f3cb5.tar.gz
samba-51af8b9600630e2310f0dc2780a06f24b88f3cb5.tar.xz
samba-51af8b9600630e2310f0dc2780a06f24b88f3cb5.zip
libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*()
metze
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/test_smb2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index a03e1cf985..6892ad0a23 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -152,7 +152,7 @@ bool run_smb2_basic(int dummy)
}
status = smb2cli_query_directory(
- cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tid,
+ cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tcon,
1, 0, 0, fid_persistent, fid_volatile, "*", 0xffff,
talloc_tos(), &dir_data, &dir_data_length);
@@ -1517,7 +1517,7 @@ bool run_smb2_session_reauth(int dummy)
}
status = smb2cli_query_directory(
- cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tid,
+ cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tcon,
1, 0x3, 0, dir_persistent, dir_volatile,
"session-reauth.txt", 0xffff,
talloc_tos(), &dir_data, &dir_data_length);
@@ -1612,7 +1612,7 @@ bool run_smb2_session_reauth(int dummy)
}
status = smb2cli_query_directory(
- cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tid,
+ cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tcon,
1, 0x3, 0, dir_persistent, dir_volatile,
"session-reauth.txt", 0xffff,
talloc_tos(), &dir_data, &dir_data_length);
@@ -1864,7 +1864,7 @@ bool run_smb2_session_reauth(int dummy)
}
status = smb2cli_query_directory(
- cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tid,
+ cli->conn, cli->timeout, cli->smb2.session, cli->smb2.tcon,
1, 0x3, 0, dir_persistent, dir_volatile,
"session-reauth.txt", 0xffff,
talloc_tos(), &dir_data, &dir_data_length);