diff options
author | Michael Adam <obnox@samba.org> | 2013-09-25 07:20:30 +0200 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2013-10-05 14:04:07 +0200 |
commit | a31ea152036fb7750fd071da67e171d16a78474b (patch) | |
tree | de58f08c80899c141d96f9f5e30ad64f6dab197b /source4/torture/smb2/session.c | |
parent | 596f802d5d56a446cb911fcb776ce84d6b44ea39 (diff) | |
download | samba-a31ea152036fb7750fd071da67e171d16a78474b.tar.gz samba-a31ea152036fb7750fd071da67e171d16a78474b.tar.bz2 samba-a31ea152036fb7750fd071da67e171d16a78474b.zip |
s4:torture:smb2: add smbcli_options argument to torture_smb2_connection_ext()
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/torture/smb2/session.c')
-rw-r--r-- | source4/torture/smb2/session.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source4/torture/smb2/session.c b/source4/torture/smb2/session.c index 3d7243380c..d076bb6d18 100644 --- a/source4/torture/smb2/session.c +++ b/source4/torture/smb2/session.c @@ -94,7 +94,10 @@ bool test_session_reconnect1(struct torture_context *tctx, struct smb2_tree *tre /* disconnect, reconnect and then do durable reopen */ previous_session_id = smb2cli_session_current_id(tree->session->smbXcli); - if (!torture_smb2_connection_ext(tctx, previous_session_id, &tree2)) { + if (!torture_smb2_connection_ext(tctx, previous_session_id, + &tree->session->transport->options, + &tree2)) + { torture_warning(tctx, "session reconnect failed\n"); ret = false; goto done; |