[Pkg-cups-devel] Bug#354579: cupsys printer builtin web manager -
URL mischmatch
Mgr. Peter Tuharsky
tuharsky at misbb.sk
Mon Feb 27 13:54:18 UTC 2006
Package: cupsys
Version: 1.1.23-10sarge1
Problem:
We've got a LAN with many printers attached to Linux computers. Of
course we use CUPS for printer sharing. When configuring printers in
builtin cups web manager on localhost:631, there is quite a big
mischmatch in URLs used.
Example1:
I've got a LOCAL printer on PC named inform8. I open admin using
localhost:631 and click on the printer in order to make a change.
I got "Forbidden" because the web manager tryes to edit printer on
"inform8.misbb.sk" instead of "localhost". I must add access in
cupsd.conf on each machine in order to allow the access to FQDN of local
machine. Silly.
Example2:
I see networked printers thanks to CUPS broadcasting, too. I wish to
make one of them my default. If I simply press "Make default", I get
"Forbidden" too, because as seen on the URL under the button, it tryes
to set the local printer ON TARGET MACHINE WHERE THE PRINTER IS
ATTACHED. Of course, we don't allow users to set printers for remote
machines (CUPS servers); it would be messy if users could change
printers settings of each other. Not to say the security issues implied...
If one wishes to set the networked printer to be his default for his own
machine, he must copy the URL from the "Make Default" button, paste it
in browser and edit so that FQDN (or localhost) of local PC is used
instead of the remote guy who is harrassed only because he has printer
connected :o)
I don't know, this (Example2) behaviour could be mentioned as tool for
remote administration, however if this is the case, there should be 2
buttons available: Local default and Remote default.
More information about the Pkg-cups-devel
mailing list