s3-auth: session keys in validation level 6 samlogon replies are *not* encrypted.
authorGünther Deschner <gd@samba.org>
Thu, 6 Dec 2012 13:31:32 +0000 (14:31 +0100)
committerStefan Metzmacher <metze@samba.org>
Sun, 9 Dec 2012 18:39:08 +0000 (19:39 +0100)
Guenther

Signed-off-by: Günther Deschner <gd@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/auth/server_info.c

index 216e5e32d7d0c4c34436e5ed811db1cf98471bab..02bf689b2c2db2d8e7f1bd6c48cd447ab5ce90b4 100644 (file)
@@ -176,20 +176,12 @@ NTSTATUS serverinfo_to_SamInfo6(struct auth_serversupplied_info *server_info,
                       server_info->session_key.data,
                       MIN(sizeof(info3->base.key.key),
                           server_info->session_key.length));
-               if (pipe_session_key) {
-                       arcfour_crypt(info3->base.key.key,
-                                     pipe_session_key, 16);
-               }
        }
        if (server_info->lm_session_key.length) {
                memcpy(info3->base.LMSessKey.key,
                       server_info->lm_session_key.data,
                       MIN(sizeof(info3->base.LMSessKey.key),
                           server_info->lm_session_key.length));
-               if (pipe_session_key) {
-                       arcfour_crypt(info3->base.LMSessKey.key,
-                                     pipe_session_key, 8);
-               }
        }
 
        sam6->base = info3->base;