diff options
author | Tim Potter <tpot@samba.org> | 2001-10-31 04:55:43 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-10-31 04:55:43 +0000 |
commit | 0f6207f45567a8af0a125a838a5ed68ea6c22283 (patch) | |
tree | 0da8db05f85dea6dec210828c2b291d7aac58cec /source/rpc_parse/parse_net.c | |
parent | 27cd7ac85779bbc1e9488ee06e87b0c743c5b29c (diff) | |
download | samba-0f6207f45567a8af0a125a838a5ed68ea6c22283.tar.gz samba-0f6207f45567a8af0a125a838a5ed68ea6c22283.tar.xz samba-0f6207f45567a8af0a125a838a5ed68ea6c22283.zip |
This one's a doozy. A cut&paste bug incorrectly sets the max string length
of the lm challenge/response header in the NET_ID_INFO_2 structure included
in a network logon request. It seems Windows 2000 is the only OS that
cares about this.
Diffstat (limited to 'source/rpc_parse/parse_net.c')
-rw-r--r-- | source/rpc_parse/parse_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/rpc_parse/parse_net.c b/source/rpc_parse/parse_net.c index fe812868d17..2f0dd1eb622 100644 --- a/source/rpc_parse/parse_net.c +++ b/source/rpc_parse/parse_net.c @@ -1013,7 +1013,7 @@ void init_id_info2(NET_ID_INFO_2 * id, const char *domain_name, memcpy(id->lm_chal, lm_challenge, sizeof(id->lm_chal)); init_str_hdr(&id->hdr_nt_chal_resp, sizeof(lm_owf), nt_chal_resp_len, (nt_chal_resp != NULL) ? 1 : 0); - init_str_hdr(&id->hdr_lm_chal_resp, sizeof(nt_owf), lm_chal_resp_len, (lm_chal_resp != NULL) ? 1 : 0); + init_str_hdr(&id->hdr_lm_chal_resp, sizeof(lm_owf), lm_chal_resp_len, (lm_chal_resp != NULL) ? 1 : 0); init_unistr2(&id->uni_domain_name, domain_name, len_domain_name); init_unistr2(&id->uni_user_name, user_name, len_user_name); |