summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-08-15 02:26:37 +0000
committerTim Potter <tpot@samba.org>2002-08-15 02:26:37 +0000
commit702687a3a4f236e8731f9c95805ccbdd38d13baa (patch)
tree00ce995ff0a42627093b1b3052514fc6e46de6c1
parentb28b28ee34fa4e1f2b8c212c488d9611b3192502 (diff)
downloadsamba-702687a3a4f236e8731f9c95805ccbdd38d13baa.tar.gz
samba-702687a3a4f236e8731f9c95805ccbdd38d13baa.tar.bz2
samba-702687a3a4f236e8731f9c95805ccbdd38d13baa.zip
The unknown_0 field in a CREATE_USER2 reply is the access granted.
(This used to be commit 8bca3085836255536794444248e7ff3a2460c045)
-rw-r--r--source3/rpc_parse/parse_samr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_parse/parse_samr.c b/source3/rpc_parse/parse_samr.c
index a6e1351aa1..d363440727 100644
--- a/source3/rpc_parse/parse_samr.c
+++ b/source3/rpc_parse/parse_samr.c
@@ -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;