1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-04 05:18:06 +03:00

CUPS patch to log client name

(This used to be commit 364a4de6df)
This commit is contained in:
Gerald Carter 2003-02-05 06:37:54 +00:00
parent d62f32ceeb
commit 9a42f660fb

View File

@ -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);