You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using cups GUI admin interface on a fresh installation of Ubuntu 22.10. If I visit 127.0.0.1:631/admin I do not have to authenticate, but without authentication, if I click on Find New Printers, no printers are found. Yet I see a printer with avahi-browse -t _ipp._tcp and also directly in Settings->Printers. If I artificially force a login by clicking on Add Printer, but don't proceed ahead and instead go back to Administration and click on Find new Printers, then the printer is found. If I modify the configuration file cupsd.conf and replace
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
with
# Restrict access to the admin pages...
<Location /admin>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
then I cannot reach the admin page without first seeing the login window that allows me to login and the problem is solved.
With the current default configuration, someone can request to Find New
Printers without being authenticated and with no way to be authenticated.
Without authentication cups does not detects printers on the network.
The person might not realize that it's because authentication is missing.
It seems natural to always offer to authenticate when accessing the
administration page. See apple#6076 .
I am using cups GUI admin interface on a fresh installation of Ubuntu 22.10. If I visit
127.0.0.1:631/admin
I do not have to authenticate, but without authentication, if I click onFind New Printers
, no printers are found. Yet I see a printer withavahi-browse -t _ipp._tcp
and also directly inSettings->Printers
. If I artificially force a login by clicking onAdd Printer
, but don't proceed ahead and instead go back toAdministration
and click onFind new Printers
, then the printer is found. If I modify the configuration filecupsd.conf
and replacewith
then I cannot reach the admin page without first seeing the login window that allows me to login and the problem is solved.
This is not at all a new issue. It was noticed five years ago here https://unix.stackexchange.com/questions/390934/cups-how-to-troubleshoot-no-printers-found-condition .
The text was updated successfully, but these errors were encountered: