summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/printspoolss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c
index 8a38a7fe7a..7a730a55bb 100644
--- a/source3/printing/printspoolss.c
+++ b/source3/printing/printspoolss.c
@@ -163,7 +163,7 @@ NTSTATUS print_spool_open(files_struct *fsp,
status = dcerpc_spoolss_OpenPrinter(b, pf, pf->svcname,
"RAW", devmode_ctr,
- SEC_FLAG_MAXIMUM_ALLOWED,
+ PRINTER_ACCESS_USE,
&pf->handle, &werr);
if (!NT_STATUS_IS_OK(status)) {
goto done;