summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-10 18:39:11 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-12 01:01:33 +0200
commitc140c5e4590ab49c0bd8ccce791450b0dbcc74aa (patch)
tree0741438af6db97a19a9bc57dfa28af5051f14e7e /source3/torture
parentc7a129262857ede4d4985a1c368b7066811ed2c3 (diff)
downloadsamba-c140c5e4590ab49c0bd8ccce791450b0dbcc74aa.tar.gz
samba-c140c5e4590ab49c0bd8ccce791450b0dbcc74aa.tar.bz2
samba-c140c5e4590ab49c0bd8ccce791450b0dbcc74aa.zip
s3/libsmb: Generalise cli_state in smb2 logoff 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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/torture/test_smb2.c b/source3/torture/test_smb2.c
index 12f32aa07f..8aff588cc7 100644
--- a/source3/torture/test_smb2.c
+++ b/source3/torture/test_smb2.c
@@ -183,7 +183,7 @@ bool run_smb2_basic(int dummy)
}
saved_uid = smb2cli_session_current_id(cli->smb2.session);
- status = smb2cli_logoff(cli);
+ status = smb2cli_logoff(cli->conn, cli->timeout, cli->smb2.session);
if (!NT_STATUS_IS_OK(status)) {
printf("smb2cli_logoff returned %s\n", nt_errstr(status));
return false;
@@ -197,7 +197,7 @@ bool run_smb2_basic(int dummy)
smb2cli_session_set_id_and_flags(cli->smb2.session, saved_uid, 0);
- status = smb2cli_logoff(cli);
+ status = smb2cli_logoff(cli->conn, cli->timeout, cli->smb2.session);
if (!NT_STATUS_EQUAL(status, NT_STATUS_USER_SESSION_DELETED)) {
printf("2nd smb2cli_logoff returned %s\n", nt_errstr(status));
return false;