From aecb5a61a378bdfa97cf621f408c9921c6e042ad Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 8 Oct 2012 12:32:49 +0200 Subject: [PATCH] s3fs-printing: Fix RAW printing for normal users. This fixes bug #8769. Signed-off-by: Andreas Schneider --- source3/printing/printspoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/printing/printspoolss.c b/source3/printing/printspoolss.c index 23464d59b0b..b3ca287cabf 100644 --- a/source3/printing/printspoolss.c +++ b/source3/printing/printspoolss.c @@ -144,7 +144,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; -- 2.11.4.GIT