diff options
Diffstat (limited to 'source4')
-rw-r--r-- | source4/rpc_server/spoolss/dcesrv_spoolss.c | 2 | ||||
-rw-r--r-- | source4/torture/rpc/spoolss.c | 2 |
2 files changed, 2 insertions, 2 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; diff --git a/source4/torture/rpc/spoolss.c b/source4/torture/rpc/spoolss.c index e3299b54db..f0748fc7d9 100644 --- a/source4/torture/rpc/spoolss.c +++ b/source4/torture/rpc/spoolss.c @@ -734,7 +734,7 @@ static BOOL call_OpenPrinterEx(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx, r.in.datatype = NULL; r.in.devmode_ctr.size = 0; r.in.devmode_ctr.devmode = NULL; - r.in.access_required = 0x02000000; + r.in.access_mask = 0x02000000; r.in.level = 1; r.out.handle = handle; |