summaryrefslogtreecommitdiff
path: root/source4/rpc_server
diff options
context:
space:
mode:
Diffstat (limited to 'source4/rpc_server')
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/rpc_server/spoolss/dcesrv_spoolss.c b/source4/rpc_server/spoolss/dcesrv_spoolss.c
index 8fefb9d6df..ed9cd01842 100644
--- a/source4/rpc_server/spoolss/dcesrv_spoolss.c
+++ b/source4/rpc_server/spoolss/dcesrv_spoolss.c
@@ -931,7 +931,7 @@ static WERROR spoolss_OpenPrinterEx_server(struct dcesrv_call_state *dce_call,
handle->destroy = spoolss_OpenPrinter_destroy;
state->reference_count = 1;
- state->access_mask = r->in.access_required;
+ state->access_mask = r->in.access_mask;
*r->out.handle = handle->wire_handle;
return WERR_OK;