1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

The unknown_0 field in a CREATE_USER2 reply is the access granted.

This commit is contained in:
Tim Potter -
parent fb822e97cb
commit 8bca308583

View File

@ -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("unknown_0", ps, depth, &r_u->unknown_0))
if(!prs_uint32("access_granted", ps, depth, &r_u->unknown_0))
return False;
if(!prs_uint32("user_rid ", ps, depth, &r_u->user_rid))
return False;