The Samba-Bugzilla – Attachment 7886 Details for
Bug 9154
Checking the printing queue with smbclient always returns ACCESS_DENIED.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
v3-6-test patch
0001-s3-rap-Open-printers-with-the-right-access-mask.patch (text/plain), 1.44 KB, created by
Andreas Schneider
on 2012-09-12 14:08:34 UTC
(
hide
)
Description:
v3-6-test patch
Filename:
MIME Type:
Creator:
Andreas Schneider
Created:
2012-09-12 14:08:34 UTC
Size:
1.44 KB
patch
obsolete
>From 92d7848135f9463941f45d6056a294614e473354 Mon Sep 17 00:00:00 2001 >From: Andreas Schneider <asn@samba.org> >Date: Wed, 12 Sep 2012 12:12:58 +0200 >Subject: [PATCH] s3-rap: Open printers with the right access mask. > >Fix bug #9154. > >(cherry picked from commit 1f8c9ab88e7a2e28e503e99baabb88c3cebbc4b6) > >Signed-off-by: Andreas Schneider <asn@samba.org> >--- > source3/smbd/lanman.c | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > >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)) { >-- >1.7.12 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Flags:
gd
:
review+
Actions:
View
Attachments on
bug 9154
: 7886