summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr_nt.c
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2002-08-15 19:40:34 +0000
committerTim Potter <tpot@samba.org>2002-08-15 19:40:34 +0000
commit9b38f76ab10a015ade9da2c5c9bafd43e3ef258c (patch)
tree23fd2c71e54193b7385178f0483203fc732eb3c3 /source3/rpc_server/srv_samr_nt.c
parentef4ff1bc48b7ff1f699384b38b298393e4f42a0c (diff)
downloadsamba-9b38f76ab10a015ade9da2c5c9bafd43e3ef258c.tar.gz
samba-9b38f76ab10a015ade9da2c5c9bafd43e3ef258c.tar.bz2
samba-9b38f76ab10a015ade9da2c5c9bafd43e3ef258c.zip
Rename unknown_0 field in create_user2 reply in the actual struct.
(This used to be commit 482d873c26bf02e27ffcd92042b476eda765a5ff)
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-rw-r--r--source3/rpc_server/srv_samr_nt.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index f427eb7046..1a09917ac7 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -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);