summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/lanman.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/smbd/lanman.c b/source3/smbd/lanman.c
index bee2b39f2f..bf635b88b1 100644
--- a/source3/smbd/lanman.c
+++ b/source3/smbd/lanman.c
@@ -1773,13 +1773,13 @@ static BOOL api_RDosPrintJobDel(connection_struct *conn,uint16 vuid, char *param
switch (function) {
case 81: /* delete */
- if (print_job_delete(jobid)) errcode = NERR_Success;
+ if (print_job_delete(jobid, vuid)) errcode = NERR_Success;
break;
case 82: /* pause */
- if (print_job_pause(jobid)) errcode = NERR_Success;
+ if (print_job_pause(jobid, vuid)) errcode = NERR_Success;
break;
case 83: /* resume */
- if (print_job_resume(jobid)) errcode = NERR_Success;
+ if (print_job_resume(jobid, vuid)) errcode = NERR_Success;
break;
}
@@ -1822,13 +1822,13 @@ static BOOL api_WPrintQueuePurge(connection_struct *conn,uint16 vuid, char *para
switch (function) {
case 74: /* Pause queue */
- if (print_queue_pause(snum)) errcode = NERR_Success;
+ if (print_queue_pause(snum, vuid)) errcode = NERR_Success;
break;
case 75: /* Resume queue */
- if (print_queue_resume(snum)) errcode = NERR_Success;
+ if (print_queue_resume(snum, vuid)) errcode = NERR_Success;
break;
case 103: /* Purge */
- if (print_queue_purge(snum)) errcode = NERR_Success;
+ if (print_queue_purge(snum, vuid)) errcode = NERR_Success;
break;
}