summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-09-15 05:25:49 +0000
committerTim Potter <tpot@samba.org>2003-09-15 05:25:49 +0000
commitac4ae84d0848fde76887239b47a5deb5bbf76b21 (patch)
treedad184327c586b0e7c1c2e0ba7eb366825094672 /source3
parentaafb99dc8f14e061ca538c6f9822ba5b8253d40b (diff)
downloadsamba-ac4ae84d0848fde76887239b47a5deb5bbf76b21.tar.gz
samba-ac4ae84d0848fde76887239b47a5deb5bbf76b21.tar.bz2
samba-ac4ae84d0848fde76887239b47a5deb5bbf76b21.zip
Merge from Samba 3.0:
>Patch from Gregory Hinton Nietsky <gregory@networksentry.co.za>, >ensure the desired access is read from the incoming RPC request. >Jeremy. (This used to be commit a556637d0bc56aeb980c422c4d1da44311956c3b)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 7f7b5e8d5e..261d641ab1 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -4236,7 +4236,7 @@ NTSTATUS _samr_open_group(pipes_struct *p, SAMR_Q_OPEN_GROUP *q_u, SAMR_R_OPEN_G
struct samr_info *info;
SEC_DESC *psd = NULL;
uint32 acc_granted;
- uint32 des_access;
+ uint32 des_access = q_u->access_mask;
size_t sd_size;
NTSTATUS status;
fstring sid_string;