summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-28 22:53:42 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:46:49 -0500
commit9b2cd2e797c4b0375a1c5112528bbd8ab89b22ca (patch)
tree82f6aa8ecba47eb0f96dc66ee4aff5d3fc49f6b3
parente052c3d66b3bce9c1315ae1f54e84a404a79bf66 (diff)
downloadsamba-9b2cd2e797c4b0375a1c5112528bbd8ab89b22ca.tar.gz
samba-9b2cd2e797c4b0375a1c5112528bbd8ab89b22ca.tar.bz2
samba-9b2cd2e797c4b0375a1c5112528bbd8ab89b22ca.zip
r11949: make sure we ask gensec to give us a session key
andrew, this answers your question on irc about whether the same session key mechanisms are used in smb2. They are - the RPC-LSA secret tests pass fine over ncacn_np on SMB2, which means the session key must be working (This used to be commit 91327885a2b6432ba20a8dd1370b632240d3263d)
-rw-r--r--source4/libcli/smb2/session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/libcli/smb2/session.c b/source4/libcli/smb2/session.c
index c62b24797d..12285d5536 100644
--- a/source4/libcli/smb2/session.c
+++ b/source4/libcli/smb2/session.c
@@ -54,6 +54,8 @@ struct smb2_session *smb2_session_init(struct smb2_transport *transport,
return NULL;
}
+ gensec_want_feature(session->gensec, GENSEC_FEATURE_SESSION_KEY);
+
return session;
}