diff options
author | Gerald Carter <jerry@samba.org> | 2003-02-05 06:37:54 +0000 |
---|---|---|
committer | Gerald Carter <jerry@samba.org> | 2003-02-05 06:37:54 +0000 |
commit | 9a42f660fb5256ab92e4e1bfcdf6b497e0274ea3 (patch) | |
tree | 44221b7d5c097d503317a8ba982eb928d1f40e24 /source3 | |
parent | d62f32ceeb961c29fd91f82f2f09a591926b9338 (diff) | |
download | samba-9a42f660fb5256ab92e4e1bfcdf6b497e0274ea3.tar.gz samba-9a42f660fb5256ab92e4e1bfcdf6b497e0274ea3.tar.bz2 samba-9a42f660fb5256ab92e4e1bfcdf6b497e0274ea3.zip |
CUPS patch to log client name
(This used to be commit 364a4de6dfb93353fe0742c259c810ffc7e1eab6)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/printing/print_cups.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/printing/print_cups.c b/source3/printing/print_cups.c index 0c86c69ffd..c283937556 100644 --- a/source3/printing/print_cups.c +++ b/source3/printing/print_cups.c @@ -734,6 +734,10 @@ cups_job_submit(int snum, struct printjob *pjob) ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "requesting-user-name", NULL, pjob->user); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, + "job-originating-host-name", NULL, + get_remote_machine_name()); + ippAddString(request, IPP_TAG_OPERATION, IPP_TAG_NAME, "job-name", NULL, pjob->jobname); |