summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2012-12-06 14:31:32 +0100
committerStefan Metzmacher <metze@samba.org>2012-12-09 19:39:08 +0100
commit7f435bd649f0b313804f40807a38de9478478b6c (patch)
treee32857da9584af2d2bfb4394c57ccc38ff93ea18 /source3
parent645289216eeb718eab1201dd3ad0a50fdf85753c (diff)
downloadsamba-7f435bd649f0b313804f40807a38de9478478b6c.tar.gz
samba-7f435bd649f0b313804f40807a38de9478478b6c.tar.bz2
samba-7f435bd649f0b313804f40807a38de9478478b6c.zip
s3-auth: session keys in validation level 6 samlogon replies are *not* encrypted.
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/auth/server_info.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/source3/auth/server_info.c b/source3/auth/server_info.c
index 216e5e32d7..02bf689b2c 100644
--- a/source3/auth/server_info.c
+++ b/source3/auth/server_info.c
@@ -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;