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 | eab05eac3998eeb9fb6fb635771370d645b5ff06 (patch) | |
tree | 18e636c9b94cd8af5f63a3305dd0ab3de60eb9a1 | |
parent | d607fe04743b6ca20172d3a4156e5fa855054e99 (diff) | |
download | samba-eab05eac3998eeb9fb6fb635771370d645b5ff06.tar.gz samba-eab05eac3998eeb9fb6fb635771370d645b5ff06.tar.bz2 samba-eab05eac3998eeb9fb6fb635771370d645b5ff06.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.
(This used to be commit 0f6207f45567a8af0a125a838a5ed68ea6c22283)
-rw-r--r-- | source3/rpc_parse/parse_net.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_net.c b/source3/rpc_parse/parse_net.c index fe812868d1..2f0dd1eb62 100644 --- a/source3/rpc_parse/parse_net.c +++ b/source3/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); |