The branch, v3-6-test has been updated
       via  aecb5a6 s3fs-printing: Fix RAW printing for normal users.
      from  493f3a0 s3: Add two tests a CLEAR_IF_FIRST crash

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test


- Log -----------------------------------------------------------------
commit aecb5a61a378bdfa97cf621f408c9921c6e042ad
Author: Andreas Schneider <[email protected]>
Date:   Mon Oct 8 12:32:49 2012 +0200

    s3fs-printing: Fix RAW printing for normal users.
    
    This fixes bug #8769.
    
    Signed-off-by: Andreas Schneider <[email protected]>

-----------------------------------------------------------------------

Summary of changes:
 source3/printing/printspoolss.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

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;


-- 
Samba Shared Repository

Reply via email to