diff options
author | Michael Adam <obnox@samba.org> | 2012-02-25 22:32:03 +0100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2012-02-28 00:08:53 +0100 |
commit | 69a64e6695779437b13b621ea6fb778bf1501cc8 (patch) | |
tree | 0b6820c22b861e3d38875bb2d7bfc77a8fea8eec /source4/torture/smb2 | |
parent | 727f3ee6acf8c7d8a4fd2c8a02eadf496e3687af (diff) | |
download | samba-69a64e6695779437b13b621ea6fb778bf1501cc8.tar.gz samba-69a64e6695779437b13b621ea6fb778bf1501cc8.tar.bz2 samba-69a64e6695779437b13b621ea6fb778bf1501cc8.zip |
s4:libcli:smb2: add a previous session argument to smb2_session_setup_spnego()
So that we can do a session reconnect.
Diffstat (limited to 'source4/torture/smb2')
-rw-r--r-- | source4/torture/smb2/util.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/smb2/util.c b/source4/torture/smb2/util.c index 5da4c198dc..97a66783fc 100644 --- a/source4/torture/smb2/util.c +++ b/source4/torture/smb2/util.c @@ -321,7 +321,8 @@ bool torture_smb2_session_setup(struct torture_context *tctx, return false; } - status = smb2_session_setup_spnego(session, credentials); + status = smb2_session_setup_spnego(session, credentials, + 0 /* previous_session_id */); if (!NT_STATUS_IS_OK(status)) { printf("session setup failed: %s\n", nt_errstr(status)); talloc_free(session); |