printing/cups: pack requested-attributes with IPP_TAG_KEYWORD
commit1872ddcf069d2f5503277c584e7cffa4bce3887f
authorDavid Disseldorp <ddiss@samba.org>
Tue, 3 Feb 2015 18:26:42 +0000 (3 19:26 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 10 Feb 2015 22:20:58 +0000 (10 23:20 +0100)
tree86989990a71bc7934f31f7aec7090fc62264826c
parentfe52bd48a18e1f52d79ec0edfabbb6719412ba55
printing/cups: pack requested-attributes with IPP_TAG_KEYWORD

The CUPS IPP_GET_JOBS requested-attributes array indicates which job
attributes the caller would like in the cupsd response.

Until now, Samba has packed these attributes with a IPP_TAG_NAME
format tag. In recent versions of CUPS, this results in the IPP_GET_JOBS
response only including the job-id and job-printer-uri fields, even with
JobPrivateValues=none configured.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=10808

Signed-off-by: David Disseldorp <ddiss@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Feb 10 01:38:58 CET 2015 on sn-devel-104

(cherry picked from commit 2f4998113e539ea4ba6fb0a72ba6ac25c9d74bd6)

Autobuild-User(v4-1-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-1-test): Tue Feb 10 23:20:58 CET 2015 on sn-devel-104
source3/printing/print_cups.c