mirror of
https://github.com/samba-team/samba.git
synced 2025-01-15 23:24:37 +03:00
Rename unknown_0 field in create_user2 reply in the actual struct.
This commit is contained in:
parent
876e7b2bf4
commit
482d873c26
@ -5069,7 +5069,7 @@ BOOL samr_io_r_create_user(char *desc, SAMR_R_CREATE_USER * r_u,
|
||||
if(!smb_io_pol_hnd("user_pol", &r_u->user_pol, ps, depth))
|
||||
return False;
|
||||
|
||||
if(!prs_uint32("access_granted", ps, depth, &r_u->unknown_0))
|
||||
if(!prs_uint32("access_granted", ps, depth, &r_u->access_granted))
|
||||
return False;
|
||||
if(!prs_uint32("user_rid ", ps, depth, &r_u->user_rid))
|
||||
return False;
|
||||
|
@ -2361,7 +2361,10 @@ NTSTATUS _api_samr_create_user(pipes_struct *p, SAMR_Q_CREATE_USER *q_u, SAMR_R_
|
||||
}
|
||||
|
||||
r_u->user_rid=pdb_get_user_rid(sam_pass);
|
||||
r_u->unknown_0 = 0x000703ff;
|
||||
|
||||
/* This should probably be some subset of q_u->access_mask */
|
||||
|
||||
r_u->access_granted = 0x000703ff;
|
||||
|
||||
pdb_free_sam(&sam_pass);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user