[cups.bugs] [LOW] STR #3889: Function poll_server() does not request information about the permissions assigned to the printer

Eugeny Shkrigunov eshkrig at gmail.com
Thu Jul 14 08:19:01 PDT 2011


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Hi!
Sorry for my English/

Our network is a lot of workstations, the printer is connected and
installed CUPS.
There is a server running CUPS, functions as a central print server.
This server connect all the printers, and assigned permissions (some
contents of printers.conf)
<Printer printer_name>
DeviceURI ipp://workstation/printers/printer_name
AllowUser user_1
....
AllowUser user_N
</ Printer>
All workstations use this network server for printing on non-local
printers. Connection to CUPS server is configured using the directive
BrowsePoll server

The problem is that on each workstation, the user sees (in the Print
dialog) all printers on the network, even those that are not allowed to
print.
As a result they are forced to choose a printer from a long list and are
frequently sent jobs to the wrong printer, which is very inconvenient.

This happens because the function poll_server() does not request
information about the permissions assigned to the printer:
requesting-user-name-allowed, requesting-user-name-denied.
Functions cupsdSaveRemoteCache() and cupsdLoadRemoteCache() already uses
information about assigning permissions, but the file remote.cache does
not contains it, because function poll_server() does not request and
function update_cups_browse() does not process such information.
For example, lpstat successfully requested
requesting-user-name-{allowed|denied}.

Please fix it and port to version 1.4.6 which we are forced to use at the
moment.

Link: http://www.cups.org/str.php?L3889
Version: 1.4.6





More information about the cups mailing list