The branch, master has been updated
       via  f888c82... s3:auth Add comment to clarify usage of session keys.
      from  20fb373... s3:auth remove login_server from server info

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=master


- Log -----------------------------------------------------------------
commit f888c82fe08f7bf624aad53c20aaa634662b36dd
Author: Simo Sorce <sso...@redhat.com>
Date:   Thu May 27 20:40:22 2010 -0400

    s3:auth Add comment to clarify usage of session keys.
    
    Explain why we have what looks like a duplicate of session keys.
    It is in fact not a duplicate.

-----------------------------------------------------------------------

Summary of changes:
 source3/include/auth.h |   10 ++++++++++
 1 files changed, 10 insertions(+), 0 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/include/auth.h b/source3/include/auth.h
index ba8b23b..fbd73ae 100644
--- a/source3/include/auth.h
+++ b/source3/include/auth.h
@@ -53,6 +53,16 @@ struct auth_serversupplied_info {
 
        NT_USER_TOKEN *ptok;
 
+       /* This is the final session key, as used by SMB signing, and
+        * (truncated to 16 bytes) encryption on the SAMR and LSA pipes
+        * when over ncacn_np.
+        * It is calculated by NTLMSSP from the session key in the info3,
+        * and is  set from the Kerberos session key using
+        * krb5_auth_con_getremotesubkey().
+        *
+        * Bootom line, it is not the same as the session keys in info3.
+        */
+
        DATA_BLOB user_session_key;
        DATA_BLOB lm_session_key;
 


-- 
Samba Shared Repository

Reply via email to