git.samba.org
/
samba.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
s3-auth: use full 16byte session key in make_user_info_netlogon_interactive().
[samba.git]
/
source
/
auth
/
auth_util.c
diff --git
a/source/auth/auth_util.c
b/source/auth/auth_util.c
index 2bd857c58939665aee8802494ad9169ea04a9635..f6c5eaa71bfde1f17dd48582ab2e3fd16c49457b 100644
(file)
--- a/
source/auth/auth_util.c
+++ b/
source/auth/auth_util.c
@@
-292,8
+292,7
@@
bool make_user_info_netlogon_interactive(auth_usersupplied_info **user_info,
unsigned char local_nt_response[24];
unsigned char key[16];
- ZERO_STRUCT(key);
- memcpy(key, dc_sess_key, 8);
+ memcpy(key, dc_sess_key, 16);
if (lm_interactive_pwd)
memcpy(lm_pwd, lm_interactive_pwd, sizeof(lm_pwd));