mirror of
https://github.com/samba-team/samba.git
synced 2025-12-12 12:23:50 +03:00
samr_querydom_info level 1: found the meaning of the unknow fields. And
discovered that our reply is short by 4 bytes since day 1 of this code.
Added a decode function to rpcclient too.
splitted the STRING2 fields filling while trying to understand the win9x
userlist bug. (didn't fix the bug, but the reply looks closer to NT).
J.F.
This commit is contained in:
@@ -1019,8 +1019,8 @@ void init_id_info2(NET_ID_INFO_2 * id, const char *domain_name,
|
||||
init_unistr2(&id->uni_user_name, user_name, len_user_name);
|
||||
init_unistr2(&id->uni_wksta_name, wksta_name, len_wksta_name);
|
||||
|
||||
init_string2(&id->nt_chal_resp, (const char *)nt_chal_resp, nt_chal_resp_len);
|
||||
init_string2(&id->lm_chal_resp, (const char *)lm_chal_resp, lm_chal_resp_len);
|
||||
init_string2(&id->nt_chal_resp, (const char *)nt_chal_resp, nt_chal_resp_len, nt_chal_resp_len);
|
||||
init_string2(&id->lm_chal_resp, (const char *)lm_chal_resp, lm_chal_resp_len, lm_chal_resp_len);
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user