git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
acea51c
)
s3fs-printing: Fix RAW printing for normal users.
author
Andreas Schneider
<asn@samba.org>
Mon, 8 Oct 2012 10:32:49 +0000
(12:32 +0200)
committer
Andreas Schneider
<asn@cryptomilk.org>
Mon, 8 Oct 2012 14:11:51 +0000
(16:11 +0200)
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
source3/printing/printspoolss.c
patch
|
blob
|
history
diff --git
a/source3/printing/printspoolss.c
b/source3/printing/printspoolss.c
index 8a38a7fe7ade6a813a3f142b22a8965d80433139..7a730a55bb0c407ffe94e364d27281cc656592f7 100644
(file)
--- 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;