From 511044bb55ea761812a8c78ad97f18de471b5b40 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 23464d5..b3ca287 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; -- 1.7.12