Author: tridge
Date: 2005-11-28 22:53:42 +0000 (Mon, 28 Nov 2005)
New Revision: 11949

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=11949

Log:

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

Modified:
   branches/SAMBA_4_0/source/libcli/smb2/session.c


Changeset:
Modified: branches/SAMBA_4_0/source/libcli/smb2/session.c
===================================================================
--- branches/SAMBA_4_0/source/libcli/smb2/session.c     2005-11-28 21:26:22 UTC 
(rev 11948)
+++ branches/SAMBA_4_0/source/libcli/smb2/session.c     2005-11-28 22:53:42 UTC 
(rev 11949)
@@ -54,6 +54,8 @@
                return NULL;
        }
 
+       gensec_want_feature(session->gensec, GENSEC_FEATURE_SESSION_KEY);
+
        return session;
 }
 

Reply via email to