I think ignoring the "requesting-user-name" attribute is a bad idea
under any circumstances. HTTP authentication is separate from the
IPP request, and in many cases the HTTP username may be different
from the actual requesting user (i.e. a group username/password to
get access to the printer, with the IPP requesting user name used
for accounting).
The best option might be to add a "authentication-required"
attribute that defines what kind of authentication is required for
each URI in "printer-uri-supported". The values would be "None",
"Basic", and "Digest" (at a minimum), and for Digest authentication
the IPP client could then request the current printer state to
initiate the challenge before the job is sent (there are issues if
the printer has a time-based nonce...)
(FWIW, our current implementation uses the HTTP username value if
the "requesting-user-name" value is not specified, but is otherwise
ignored for purposes of printer accounting)
-- ______________________________________________________________________ Michael Sweet, Easy Software Products mike@easysw.com Printing Software for UNIX http://www.easysw.com