From 0b56d28a16e443ddf9397ada2525592e2687fc42 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 8a38a7f..7a730a5 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; -- 1.7.12