From 51af8b9600630e2310f0dc2780a06f24b88f3cb5 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 23 Jul 2012 22:32:49 +0200 Subject: libcli/smb: pass smbXcli_tcon to smb2cli_query_directory*() metze --- source3/torture/test_smb2.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3') 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); -- cgit