summaryrefslogtreecommitdiffstats
path: root/source/libcli
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-11-28 22:53:42 +0000
committerAndrew Tridgell <tridge@samba.org>2005-11-28 22:53:42 +0000
commit6046263c84139528048789f20ad850b04785a3bf (patch)
treeedbdacfceaa5fb88e29e95c1c5cb9398cd3089d5 /source/libcli
parent6183fb4222da9e5f6d4a6e9fbcd704ddbf011832 (diff)
downloadsamba-6046263c84139528048789f20ad850b04785a3bf.tar.gz
samba-6046263c84139528048789f20ad850b04785a3bf.tar.xz
samba-6046263c84139528048789f20ad850b04785a3bf.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
Diffstat (limited to 'source/libcli')
-rw-r--r--source/libcli/smb2/session.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/libcli/smb2/session.c b/source/libcli/smb2/session.c
index c62b24797d9..12285d55369 100644
--- a/source/libcli/smb2/session.c
+++ b/source/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;
}