mirror of
https://github.com/samba-team/samba.git
synced 2025-02-12 21:58:10 +03:00
r480: Added Andrew Bartletts pwinfo-parse-error.patch.
Jeremy.
This commit is contained in:
parent
a9d1738eba
commit
b9e79004a4
@ -1740,9 +1740,8 @@ typedef struct r_samr_get_dom_pwinfo
|
||||
* turned out to 12. 3 uint32's + NT_STATUS == 16 bytes. Tested
|
||||
* using NT and 2k. --jerry
|
||||
*/
|
||||
uint32 unk_0;
|
||||
uint16 unk_0;
|
||||
uint32 unk_1;
|
||||
uint32 unk_2;
|
||||
NTSTATUS status;
|
||||
|
||||
} SAMR_R_GET_DOM_PWINFO;
|
||||
|
@ -6928,12 +6928,12 @@ BOOL samr_io_r_get_dom_pwinfo(const char *desc, SAMR_R_GET_DOM_PWINFO * r_u,
|
||||
* what they are, but the length is important for the singing
|
||||
*/
|
||||
|
||||
if(!prs_uint32("unk_0", ps, depth, &r_u->unk_0))
|
||||
if(!prs_uint16("unk_0", ps, depth, &r_u->unk_0))
|
||||
return False;
|
||||
if(!prs_align(ps))
|
||||
return False;
|
||||
if(!prs_uint32("unk_1", ps, depth, &r_u->unk_1))
|
||||
return False;
|
||||
if(!prs_uint32("unk_2", ps, depth, &r_u->unk_2))
|
||||
return False;
|
||||
|
||||
if(!prs_ntstatus("status", ps, depth, &r_u->status))
|
||||
return False;
|
||||
|
Loading…
x
Reference in New Issue
Block a user