From 9b2cd2e797c4b0375a1c5112528bbd8ab89b22ca Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Mon, 28 Nov 2005 22:53:42 +0000 Subject: 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) --- source4/libcli/smb2/session.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4') 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; } -- cgit