summaryrefslogtreecommitdiff
path: root/source3/rpc_server
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-09-15 03:36:04 +0000
committerJeremy Allison <jra@samba.org>2003-09-15 03:36:04 +0000
commit0d9410f61d5482e8dfd51dcf89dda44e125336fb (patch)
treec3c99fad908cc06eeca734d512c3905872bc21dd /source3/rpc_server
parent1d7e64e091573d34427585b36e88f815799c30f3 (diff)
downloadsamba-0d9410f61d5482e8dfd51dcf89dda44e125336fb.tar.gz
samba-0d9410f61d5482e8dfd51dcf89dda44e125336fb.tar.bz2
samba-0d9410f61d5482e8dfd51dcf89dda44e125336fb.zip
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 fdc5dda44f0190af4e4b0782cb2c5c7de3506d12)
Diffstat (limited to 'source3/rpc_server')
-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;