diff options
author | Tim Potter <tpot@samba.org> | 2002-08-16 17:35:38 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2002-08-16 17:35:38 +0000 |
commit | 3a226d149db5ddca14448640818f2d51380a331c (patch) | |
tree | 400fe53a72c3ae5c0b7f383a7b7eda9d67e35fb1 /source3 | |
parent | 31514f67ae28844deb85a031fb707bff12dc7b76 (diff) | |
download | samba-3a226d149db5ddca14448640818f2d51380a331c.tar.gz samba-3a226d149db5ddca14448640818f2d51380a331c.tar.xz samba-3a226d149db5ddca14448640818f2d51380a331c.zip |
Return access granted in create_user2.
(This used to be commit 8ebc295f4a487993474390e0686d2aa9313be8d1)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index ee404534823..a30622c6008 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -2364,9 +2364,7 @@ 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); - /* This should probably be some subset of q_u->access_mask */ - - r_u->access_granted = 0x000703ff; + r_u->access_granted = acc_granted; pdb_free_sam(&sam_pass); |