diff options
author | Tim Potter <tpot@samba.org> | 2000-06-16 08:18:57 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2000-06-16 08:18:57 +0000 |
commit | 5824ae2734fd4b7e765afe696c135a8fe5153c88 (patch) | |
tree | 92669819b82a1035996ee760a29c700252e641e8 /source3 | |
parent | e83ddf6e695f6d250c3ebbaa279a19f7f9484fb4 (diff) | |
download | samba-5824ae2734fd4b7e765afe696c135a8fe5153c88.tar.gz samba-5824ae2734fd4b7e765afe696c135a8fe5153c88.tar.bz2 samba-5824ae2734fd4b7e765afe696c135a8fe5153c88.zip |
Pass the vuid from the connection_struct to the printing back end functions.
(This used to be commit 6120d03200ed6d89640332aedc75172bdf77e2a0)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/smbd/lanman.c | 12 |
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; } |