From c12cc3cf9c64ee0edd56875a5fb85e37129872ee Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Mon, 8 Oct 2012 12:32:49 +0200 Subject: s3fs-printing: Fix RAW printing for normal users. This fixes bug #8769. Autobuild-User(master): Andreas Schneider Autobuild-Date(master): Mon Oct 8 16:11:51 CEST 2012 on sn-devel-104 --- source3/printing/printspoolss.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3/printing') 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; -- cgit