summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1998-10-16 00:59:22 +0000
committerLuke Leighton <lkcl@samba.org>1998-10-16 00:59:22 +0000
commitc9ab92ffe523a7061e97668becf08705db1d744f (patch)
tree0ffe3ca5570f9bff52630d577b675c4db7552297 /source3/rpc_parse
parent070b33489179d07ed76530ad52b828e6e708789d (diff)
downloadsamba-c9ab92ffe523a7061e97668becf08705db1d744f.tar.gz
samba-c9ab92ffe523a7061e97668becf08705db1d744f.tar.bz2
samba-c9ab92ffe523a7061e97668becf08705db1d744f.zip
rpcclient ntlogin test
(This used to be commit f69cf05ff56dffb313304964d5bf5e5aee2f40a7)
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_net.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c
index 2fc0d12446..d99c4baac6 100644
--- a/source3/rpc_parse/parse_net.c
+++ b/source3/rpc_parse/parse_net.c
@@ -580,11 +580,11 @@ void make_id_info1(NET_ID_INFO_1 *id, char *domain_name,
#endif
memset(key, 0, 16);
- memcpy(key, sess_key, 16);
+ memcpy(key, sess_key, 8);
- memcpy(lm_cypher, lm_owf, 16);
+ memcpy(lm_owf, lm_cypher, 16);
SamOEMhash(lm_owf, key, False);
- memcpy(lm_cypher, lm_owf, 16);
+ memcpy(nt_owf, nt_cypher, 16);
SamOEMhash(nt_owf, key, False);
#ifdef DEBUG_PASSWORD