diff options
author | Jeremy Allison <jra@samba.org> | 2001-07-17 00:39:07 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-07-17 00:39:07 +0000 |
commit | e0912989073980817b5c41bca30b2fab429c7e0f (patch) | |
tree | 266f19e13638ec6ee3c7290faa3b0cca89cfb8d6 /source3/printing | |
parent | a92134c5a41b2687134617e86e083ef38d7ed2e7 (diff) | |
download | samba-e0912989073980817b5c41bca30b2fab429c7e0f.tar.gz samba-e0912989073980817b5c41bca30b2fab429c7e0f.tar.bz2 samba-e0912989073980817b5c41bca30b2fab429c7e0f.zip |
iFix from "Shahms E. King" <shahms@shahms.com> to get cups user name
right.
Jeremy.
(This used to be commit 34244c2a8d02d09b60dfba30b239b9764b60d35a)
Diffstat (limited to 'source3/printing')
-rw-r--r-- | source3/printing/print_cups.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index b9929c4823..dd5f1ca188 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -366,7 +366,7 @@ cups_job_delete(int snum, struct printjob *pjob) ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", - NULL, cupsUser()); + NULL, pjob->user); /* * Do the request and get back a response... @@ -456,7 +456,7 @@ cups_job_pause(int snum, struct printjob *pjob) ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", - NULL, cupsUser()); + NULL, pjob->user); /* * Do the request and get back a response... @@ -546,7 +546,7 @@ cups_job_resume(int snum, struct printjob *pjob) ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "job-uri", NULL, uri); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", - NULL, cupsUser()); + NULL, pjob->user); /* * Do the request and get back a response... @@ -639,7 +639,7 @@ cups_job_submit(int snum, struct printjob *pjob) "printer-uri", NULL, uri); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", - NULL, cupsUser()); + NULL, pjob->user); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", NULL, pjob->jobname); @@ -1065,7 +1065,7 @@ cups_queue_pause(int snum) ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", - NULL, cupsUser()); + NULL, pjob->user); /* * Do the request and get back a response... @@ -1156,7 +1156,7 @@ cups_queue_resume(int snum) ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_URI, "printer-uri", NULL, uri); ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", - NULL, cupsUser()); + NULL, pjob->user); /* * Do the request and get back a response... |