summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/smbd/lanman.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index b22619ff35..d54e1d51e6 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -3525,7 +3525,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)) {
@@ -4986,7 +4986,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)) {
@@ -5186,7 +5186,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)) {