summaryrefslogtreecommitdiff
path: root/source4/libcli/smb2
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2012-02-26 17:35:28 +0100
committerMichael Adam <obnox@samba.org>2012-02-28 00:08:52 +0100
commit727f3ee6acf8c7d8a4fd2c8a02eadf496e3687af (patch)
tree1b101d9d1de8ffaddfda0a7ed19450000aa363f1 /source4/libcli/smb2
parent5ebbd46b4a8714e98bb14862f9c3dc31301d8404 (diff)
downloadsamba-727f3ee6acf8c7d8a4fd2c8a02eadf496e3687af.tar.gz
samba-727f3ee6acf8c7d8a4fd2c8a02eadf496e3687af.tar.bz2
samba-727f3ee6acf8c7d8a4fd2c8a02eadf496e3687af.zip
s3:libsmb:smb2: pass previous session ID to session setup, not previous session
We only need the session, and under some circumstances, it might complicate things for the caller to have to cope with the whole structure (talloc...).
Diffstat (limited to 'source4/libcli/smb2')
-rw-r--r--source4/libcli/smb2/session.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/libcli/smb2/session.c b/source4/libcli/smb2/session.c
index 097411813a..e26a65be33 100644
--- a/source4/libcli/smb2/session.c
+++ b/source4/libcli/smb2/session.c
@@ -159,7 +159,7 @@ struct tevent_req *smb2_session_setup_spnego_send(TALLOC_CTX *mem_ctx,
0, /* in_flags */
0, /* in_capabilities */
0, /* in_channel */
- NULL, /* in_previous_session */
+ 0, /* in_previous_session_id */
&state->in_secblob);
if (tevent_req_nomem(subreq, req)) {
return tevent_req_post(req, ev);
@@ -239,7 +239,7 @@ static void smb2_session_setup_spnego_done(struct tevent_req *subreq)
0, /* in_flags */
0, /* in_capabilities */
0, /* in_channel */
- NULL, /* in_previous_session */
+ 0, /* in_previous_session_id */
&state->in_secblob);
if (tevent_req_nomem(subreq, req)) {
return;