summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-10-25 15:19:19 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:04:42 -0500
commit5a75c3b060374b01afb6b0df4ba2444042241c05 (patch)
tree2325add36ab57e9235b7bf308cfc82d8fff99713 /source4
parent8ade4d978506f6b2fab2ccd194f8b62d5d97d168 (diff)
downloadsamba-5a75c3b060374b01afb6b0df4ba2444042241c05.tar.gz
samba-5a75c3b060374b01afb6b0df4ba2444042241c05.tar.bz2
samba-5a75c3b060374b01afb6b0df4ba2444042241c05.zip
r3218: Fix the build
(This used to be commit 478ba629158e8ce5e15467105b1013ba60f04ec1)
Diffstat (limited to 'source4')
-rw-r--r--source4/rpc_server/spoolss/dcesrv_spoolss.c2
-rw-r--r--source4/torture/rpc/spoolss.c2
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;