summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2012-10-08 12:32:49 +0200
committerAndreas Schneider <asn@cryptomilk.org>2012-10-08 16:11:51 +0200
commitc12cc3cf9c64ee0edd56875a5fb85e37129872ee (patch)
tree531ba249002f169ab9181aac5830fc88c19f7b8f /source3/printing
parentacea51cc37ff9171c9e18ff0c21b825080aa4b8e (diff)
downloadsamba-c12cc3cf9c64ee0edd56875a5fb85e37129872ee.tar.gz
samba-c12cc3cf9c64ee0edd56875a5fb85e37129872ee.tar.bz2
samba-c12cc3cf9c64ee0edd56875a5fb85e37129872ee.zip
s3fs-printing: Fix RAW printing for normal users.
This fixes bug #8769. Autobuild-User(master): Andreas Schneider <asn@cryptomilk.org> Autobuild-Date(master): Mon Oct 8 16:11:51 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/printing')
-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;