The Samba-Bugzilla – Attachment 3316 Details for
Bug 5495
bad user session key computation when using ntlm-server-1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
unnecessary encoding of user session key removed
samba_ntlm_user_sesskey.patch (text/plain), 1.15 KB, created by
SIMON, Gabor
on 2008-05-28 08:45:26 UTC
(
hide
)
Description:
unnecessary encoding of user session key removed
Filename:
MIME Type:
Creator:
SIMON, Gabor
Created:
2008-05-28 08:45:26 UTC
Size:
1.15 KB
patch
obsolete
>diff -Naur samba.orig/source/rpc_client/cli_netlogon.c samba/source/rpc_client/cli_netlogon.c >--- samba.orig/source/rpc_client/cli_netlogon.c 2008-05-28 14:30:48.000000000 +0200 >+++ samba/source/rpc_client/cli_netlogon.c 2008-05-28 15:26:54.000000000 +0200 >@@ -503,14 +503,6 @@ > user_session_key = validation.sam3->base.key; > lmsesskey = validation.sam3->base.LMSessKey; > >- if (memcmp(zeros, user_session_key.key, 16) != 0) { >- SamOEMhash(user_session_key.key, cli->dc->sess_key, 16); >- } >- >- if (memcmp(zeros, lmsesskey.key, 8) != 0) { >- SamOEMhash(lmsesskey.key, cli->dc->sess_key, 8); >- } >- > if (memcmp(zeros, ret_creds.cred.data, sizeof(ret_creds.cred.data)) != 0) { > /* Check returned credentials if present. */ > if (!netlogon_creds_client_check(cli->dc, &ret_creds.cred)) { >@@ -623,14 +615,6 @@ > user_session_key = validation.sam3->base.key; > lmsesskey = validation.sam3->base.LMSessKey; > >- if (memcmp(zeros, user_session_key.key, 16) != 0) { >- SamOEMhash(user_session_key.key, cli->dc->sess_key, 16); >- } >- >- if (memcmp(zeros, lmsesskey.key, 8) != 0) { >- SamOEMhash(lmsesskey.key, cli->dc->sess_key, 8); >- } >- > *info3 = validation.sam3; > > return result;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 5495
: 3316 |
3320