[SCM] Samba Shared Repository - branch v3-6-test updated

Karolin Seeger kseeger at samba.org
Mon Sep 17 03:53:41 MDT 2012


The branch, v3-6-test has been updated
       via  9b3a4a1 s3-rap: Open printers with the right access mask.
      from  47f2211 nsswitch: fix crash on null pam change pw response

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


- Log -----------------------------------------------------------------
commit 9b3a4a16c2068437996650c36d201616a9daa8d3
Author: Andreas Schneider <asn at samba.org>
Date:   Wed Sep 12 12:12:58 2012 +0200

    s3-rap: Open printers with the right access mask.
    
    Fix bug #9154.
    
    (cherry picked from commit 1f8c9ab88e7a2e28e503e99baabb88c3cebbc4b6)
    
    Signed-off-by: Andreas Schneider <asn at samba.org>

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

Summary of changes:
 source3/smbd/lanman.c |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index 74cfe31..f56ea30 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -3524,7 +3524,7 @@ static bool api_WPrintQueueCtrl(struct smbd_server_connection *sconn,
 					    QueueName,
 					    NULL,
 					    devmode_ctr,
-					    SEC_FLAG_MAXIMUM_ALLOWED,
+					    PRINTER_ACCESS_ADMINISTER,
 					    &handle,
 					    &werr);
 	if (!NT_STATUS_IS_OK(status)) {
@@ -4979,7 +4979,7 @@ static bool api_WPrintJobEnumerate(struct smbd_server_connection *sconn,
 					    name,
 					    NULL,
 					    devmode_ctr,
-					    SEC_FLAG_MAXIMUM_ALLOWED,
+					    PRINTER_ACCESS_USE,
 					    &handle,
 					    &werr);
 	if (!NT_STATUS_IS_OK(status)) {
@@ -5179,7 +5179,7 @@ static bool api_WPrintDestGetInfo(struct smbd_server_connection *sconn,
 					    PrinterName,
 					    NULL,
 					    devmode_ctr,
-					    SEC_FLAG_MAXIMUM_ALLOWED,
+					    PRINTER_ACCESS_USE,
 					    &handle,
 					    &werr);
 	if (!NT_STATUS_IS_OK(status)) {


-- 
Samba Shared Repository


More information about the samba-cvs mailing list