git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd77cfa
)
r11949: make sure we ask gensec to give us a session key
author
Andrew Tridgell
<tridge@samba.org>
Mon, 28 Nov 2005 22:53:42 +0000
(22:53 +0000)
committer
Gerald (Jerry) Carter
<jerry@samba.org>
Wed, 10 Oct 2007 18:46:49 +0000
(13:46 -0500)
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
source/libcli/smb2/session.c
patch
|
blob
|
history
diff --git
a/source/libcli/smb2/session.c
b/source/libcli/smb2/session.c
index c62b24797d9fb8cd72bdeeb95dc52b1a4022f035..12285d55369ccb8146f77f77a43793a380e732e0 100644
(file)
--- 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;
}