View previous topic :: View next topic |
Author |
Message |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Sat Jul 21, 2018 7:26 am Post subject: cups - No authentication data provided |
|
|
Hi, everyone
For like one month (or maybe for a bit longer) I haven't been able to do anything useful from localhost:631. I can access the frontend, but when I try to do anything (it doesn't matter if it's stopping a job or modifying a printer setting) it gifts me with the following notice:
Code: | Unauthorized Enter your username and password or the root username and password to access this page. If you are using Kerberos authentication, make sure you have a valid Kerberos ticket. |
I've tried changing the default auth type from Basic to None in cupsd.conf and restarting the server, but it changed nothing. Not that that would be a valid solution anyway, but I was just testing.
I suspect that happened when I updated the server from 2.1.x to 2.2.x.
I have yet to see any significant cups update that goes without problems... but this time I can't figure what's going on at all.
This is a sample from the log file (with logging level set to "debug") when trying to set the default printer, as an example.
Quote: |
D [20/Jul/2018:21:12:30 +0200] [Client 4] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [20/Jul/2018:21:12:30 +0200] [Client 4] Closing connection.
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [20/Jul/2018:21:12:30 +0200] [Client 5] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [20/Jul/2018:21:12:30 +0200] [Client 5] Closing connection.
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [20/Jul/2018:21:12:30 +0200] [Client 6] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [20/Jul/2018:21:12:30 +0200] [Client 6] Closing connection.
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [20/Jul/2018:21:12:30 +0200] [Client 7] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [20/Jul/2018:21:12:30 +0200] [Client 7] Closing connection.
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Not busy"
D [20/Jul/2018:21:12:30 +0200] [Client 3] POST /admin/ HTTP/1.1
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Not busy"
D [20/Jul/2018:21:12:30 +0200] [Client 3] Read: status=200, state=6
D [20/Jul/2018:21:12:30 +0200] [Client 3] No authentication data provided.
D [20/Jul/2018:21:12:30 +0200] [CGI] argv[0] = "/usr/libexec/cups/cgi-bin/admin.cgi"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[0] = "CUPS_CACHEDIR=/var/cache/cups"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[1] = "CUPS_DATADIR=/usr/share/cups"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[2] = "CUPS_DOCROOT=/usr/share/cups/html"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[3] = "CUPS_FONTPATH=/usr/share/cups/fonts"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[4] = "CUPS_REQUESTROOT=/var/spool/cups"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[5] = "CUPS_SERVERBIN=/usr/libexec/cups"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[6] = "CUPS_SERVERROOT=/etc/cups"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[7] = "CUPS_STATEDIR=/run/cups"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[8] = "HOME=/var/spool/cups/tmp"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[9] = "PATH=/usr/libexec/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[10] = "SERVER_ADMIN=root@pitufolandia"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[11] = "SOFTWARE=CUPS/2.2.7"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[12] = "TMPDIR=/var/spool/cups/tmp"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[13] = "USER=root"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[14] = "CUPS_MAX_MESSAGE=2047"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[15] = "CUPS_SERVER=/run/cups/cups.sock"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[16] = "CUPS_ENCRYPTION=IfRequested"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[17] = "IPP_PORT=631"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[18] = "LANG=es_ES.UTF8"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[19] = "REDIRECT_STATUS=1"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[20] = "GATEWAY_INTERFACE=CGI/1.1"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[21] = "SERVER_NAME=localhost"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[22] = "SERVER_PORT=631"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[23] = "REMOTE_ADDR=[v1.::1]"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[24] = "REMOTE_HOST=localhost"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[25] = "SCRIPT_NAME=/admin/"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[26] = "SCRIPT_FILENAME=/usr/share/cups/html/admin/"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[27] = "SERVER_PROTOCOL=HTTP/1.1"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[28] = "HTTP_COOKIE=org.cups.sid=c1873d8e49ca10608acd0fc919fa1fd0"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[29] = "HTTP_USER_AGENT=Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/67.0.3396.79 Safari/537.36"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[30] = "HTTP_REFERER=http://localhost:631/printers/BIXOLON_SRP-330"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[31] = "REQUEST_METHOD=POST"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[32] = "CONTENT_LENGTH=92"
D [20/Jul/2018:21:12:30 +0200] [CGI] envp[33] = "CONTENT_TYPE=application/x-www-form-urlencoded"
D [20/Jul/2018:21:12:30 +0200] [CGI] Started /usr/libexec/cups/cgi-bin/admin.cgi (PID 12205)
I [20/Jul/2018:21:12:30 +0200] [Client 3] Started "/usr/libexec/cups/cgi-bin/admin.cgi" (pid=12205, file=14)
D [20/Jul/2018:21:12:30 +0200] [Client 3] Waiting for CGI data.
D [20/Jul/2018:21:12:30 +0200] [CGI] admin.cgi started...
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [20/Jul/2018:21:12:30 +0200] [Client 10] Server address is "/run/cups/cups.sock".
D [20/Jul/2018:21:12:30 +0200] [Client 10] Accepted from localhost (Domain)
D [20/Jul/2018:21:12:30 +0200] [Client 10] Waiting for request.
D [20/Jul/2018:21:12:30 +0200] [CGI] http=0x561a3c83a750
D [20/Jul/2018:21:12:30 +0200] [CGI] cgiSetVariable: SECTION=\"admin\"
D [20/Jul/2018:21:12:30 +0200] [CGI] cgiSetVariable: REFRESH_PAGE=\"\"
D [20/Jul/2018:21:12:30 +0200] [CGI] org.cups.sid cookie is \"c1873d8e49ca10608acd0fc919fa1fd0\"
D [20/Jul/2018:21:12:30 +0200] [CGI] cgiSetVariable: org.cups.sid=\"c1873d8e49ca10608acd0fc919fa1fd0\"
D [20/Jul/2018:21:12:30 +0200] [CGI] cgiSetVariable: printer_name=\"BIXOLON_SRP-330\"
D [20/Jul/2018:21:12:30 +0200] [CGI] cgiSetVariable: OP=\"set-as-default\"
D [20/Jul/2018:21:12:30 +0200] [CGI] op=\"set-as-default\"...
D [20/Jul/2018:21:12:30 +0200] [Client 10] POST /admin/ HTTP/1.1
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [20/Jul/2018:21:12:30 +0200] [Client 10] Read: status=200, state=6
D [20/Jul/2018:21:12:30 +0200] [Client 10] No authentication data provided.
D [20/Jul/2018:21:12:30 +0200] [Client 10] 2.0 CUPS-Set-Default 1
D [20/Jul/2018:21:12:30 +0200] CUPS-Set-Default ipp://localhost/printers/BIXOLON_SRP-330
D [20/Jul/2018:21:12:30 +0200] cupsdIsAuthorized: username=""
D [20/Jul/2018:21:12:30 +0200] [Client 10] Returning HTTP No autorizado for CUPS-Set-Default (ipp://localhost/printers/BIXOLON_SRP-330) from localhost
D [20/Jul/2018:21:12:30 +0200] [Client 10] cupsdSendHeader: code=401, type="text/html", auth_type=0
D [20/Jul/2018:21:12:30 +0200] [Client 10] WWW-Authenticate: Basic realm=\"CUPS\", PeerCred, Local trc=\"y\"
D [20/Jul/2018:21:12:30 +0200] [CGI] cgi_passwd(prompt=\"¿Contraseña de lp en localhost? \") called!
D [20/Jul/2018:21:12:30 +0200] [Client 3] CGI data ready to be sent.
D [20/Jul/2018:21:12:30 +0200] [Client 3] con->http=0x55cdd76966c0
D [20/Jul/2018:21:12:30 +0200] [Client 3] cupsdWriteClient error=0, used=0, state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH, data_remaining=2147483647, response=(nil)(), pipe_pid=12205, file=14
D [20/Jul/2018:21:12:30 +0200] [Client 3] Waiting for CGI data.
D [20/Jul/2018:21:12:30 +0200] [Client 3] Script header: Status: 401
D [20/Jul/2018:21:12:30 +0200] [Client 3] Script header:
D [20/Jul/2018:21:12:30 +0200] [Client 3] Sending status 401 for CGI.
D [20/Jul/2018:21:12:30 +0200] [Client 3] cupsdSendHeader: code=401, type="text/html", auth_type=0
D [20/Jul/2018:21:12:30 +0200] [Client 3] WWW-Authenticate: Basic realm=\"CUPS\", Local
D [20/Jul/2018:21:12:30 +0200] [Client 3] Flushing write buffer.
D [20/Jul/2018:21:12:30 +0200] [Client 3] New state is HTTP_STATE_WAITING
D [20/Jul/2018:21:12:30 +0200] [Client 3] Waiting for request.
D [20/Jul/2018:21:12:30 +0200] [Client 3] Closing because Keep-Alive is disabled.
D [20/Jul/2018:21:12:30 +0200] [Client 3] Closing connection.
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Active clients", busy="Active clients"
D [20/Jul/2018:21:12:30 +0200] [Client 10] HTTP_STATE_WAITING Closing for error 32 (Broken pipe)
D [20/Jul/2018:21:12:30 +0200] [Client 10] Closing connection.
D [20/Jul/2018:21:12:30 +0200] cupsdSetBusyState: newbusy="Not busy", busy="Active clients"
D [20/Jul/2018:21:12:30 +0200] PID 12205 (/usr/libexec/cups/cgi-bin/admin.cgi) exited with no errors. |
Any help is appreciated. _________________ Gentoo Handbook | My website
Last edited by i92guboj on Sat Jul 21, 2018 3:18 pm; edited 1 time in total |
|
Back to top |
|
 |
quilosaq Veteran

Joined: 22 Dec 2009 Posts: 1410
|
Posted: Sat Jul 21, 2018 2:20 pm Post subject: |
|
|
Try this:
1.- Set authentication type to Basic and restart cupsd
2.- Clear cookies, data and password stored in your browser
3.- Go to cups website |
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 5047 Location: Dallas area
|
Posted: Sat Jul 21, 2018 2:39 pm Post subject: |
|
|
post your cupsd.conf _________________ PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie) amd64-no-multilib, eudev, openrc, openbox
The New OTW |
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Sat Jul 21, 2018 3:13 pm Post subject: |
|
|
Anon-E-moose wrote: | post your cupsd.conf |
Code: | #
# Configuration file for the CUPS scheduler. See "man cupsd.conf" for a
# complete description of this file.
#
# Log general information in error_log - change "warn" to "debug"
# for troubleshooting...
LogLevel debug
PageLogFormat
# Only listen for connections from the local machine.
Listen localhost:631
Listen /run/cups/cups.sock
# Show shared printers on the local network.
Browsing On
BrowseLocalProtocols dnssd
# Default authentication type, when authentication is required...
DefaultAuthType Basic
# Web interface setting...
WebInterface Yes
# Restrict access to the server...
<Location />
Order allow,deny
</Location>
# Restrict access to the admin pages...
<Location /admin>
Order allow,deny
</Location>
# Restrict access to configuration files...
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Restrict access to log files...
<Location /admin/log>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
# Set the default printer/job policies...
<Policy default>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
# AuthType Default
# Require user @SYSTEM
# Order deny,allow
AuthType None
Allow localhost
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# Set the authenticated printer/job policies...
<Policy authenticated>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Default
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
# Set the kerberized printer/job policies...
<Policy kerberos>
# Job/subscription privacy...
JobPrivateAccess default
JobPrivateValues default
SubscriptionPrivateAccess default
SubscriptionPrivateValues default
# Job-related operations must be done by the owner or an administrator...
<Limit Create-Job Print-Job Print-URI Validate-Job>
AuthType Negotiate
Order deny,allow
</Limit>
<Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job Purge-Jobs Set-Job-Attributes Create-Job-Subscription Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job Cancel-Current-Job Suspend-Current-Job Resume-Job Cancel-My-Jobs Close-Job CUPS-Move-Job CUPS-Get-Document>
AuthType Negotiate
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an administrator to authenticate...
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# All printer operations require a printer operator to authenticate...
<Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer Startup-Printer Promote-Job Schedule-Job-After Cancel-Jobs CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
# Only the owner or an administrator can cancel or authenticate a job...
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Negotiate
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
|
I modified this part today to be able to set a default printer.
Code: |
<Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default CUPS-Get-Devices>
# AuthType Default
# Require user @SYSTEM
# Order deny,allow
AuthType None
Allow localhost
</Limit>
|
But, otherwise, and saving the "debug" log level, I haven't ever modified this file by hand. I can't say whether the cups web frontend write to this. Probably it does. But I didn't mess with it in a text editor. _________________ Gentoo Handbook | My website |
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Sat Jul 21, 2018 3:16 pm Post subject: |
|
|
quilosaq wrote: | Try this:
1.- Set authentication type to Basic and restart cupsd
|
It was that way. It worked previously, and now it doesn't.
Quote: |
2.- Clear cookies, data and password stored in your browser
|
It happens with every browser, in regular and incognito mode.
Quote: |
3.- Go to cups website |
Every cups user does that on every update. _________________ Gentoo Handbook | My website |
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 5047 Location: Dallas area
|
Posted: Sat Jul 21, 2018 4:58 pm Post subject: |
|
|
cupsd.conf looks fine, that's not your problem.
What use flags do you have for cups?
Code: | net-print/cups-2.2.7::gentoo USE="X python ssl threads -acl -dbus -debug -java -kerberos -lprng-compat -pam (-selinux) -static-libs -systemd -usb -xinetd -zeroconf" PYTHON_TARGETS="python2_7" 0 KiB |
Edit to add: what does it do if you are root when you try and run it? _________________ PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie) amd64-no-multilib, eudev, openrc, openbox
The New OTW |
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Sat Jul 21, 2018 5:19 pm Post subject: |
|
|
Anon-E-moose wrote: | cupsd.conf looks fine, that's not your problem.
What use flags do you have for cups?
Code: | net-print/cups-2.2.7::gentoo USE="X python ssl threads -acl -dbus -debug -java -kerberos -lprng-compat -pam (-selinux) -static-libs -systemd -usb -xinetd -zeroconf" PYTHON_TARGETS="python2_7" 0 KiB |
|
Quote: |
X dbus pam python ssl threads zeroconf -acl -debug -java -kerberos -lprng-compat -selinux -static-libs -systemd -usb -xinetd
|
I'll try a couple of things.
Quote: |
Edit to add: what does it do if you are root when you try and run it? |
Same thing. It was the first thing I tried. Though running a browser truly as root is becoming increasingly difficult nowadays. _________________ Gentoo Handbook | My website |
|
Back to top |
|
 |
Anon-E-moose Watchman


Joined: 23 May 2008 Posts: 5047 Location: Dallas area
|
Posted: Sat Jul 21, 2018 5:42 pm Post subject: |
|
|
I don't run pam, but I would look and see if there's something in that arena that affects cups/printing.
I don't run dbus or zeroconf either, but I doubt they are a problem. _________________ PRIME x570-pro, 3700x, RX 550 - 5.8 zen kernel
Acer E5-575 (laptop), i3-7100u - i965 - 5.5 zen kernel
---both---
gcc 9.3.0, profile 17.1 (no-pie) amd64-no-multilib, eudev, openrc, openbox
The New OTW |
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Sun Jul 22, 2018 7:28 am Post subject: |
|
|
Anon-E-moose wrote: | I don't run pam, but I would look and see if there's something in that arena that affects cups/printing. |
On a quick check, recompiling cups with USE=-pam does nothing to improve the situation. I will investigate the pam config files though. I am fairly sure I did some modifications in there.
Thanks! _________________ Gentoo Handbook | My website |
|
Back to top |
|
 |
quilosaq Veteran

Joined: 22 Dec 2009 Posts: 1410
|
Posted: Sun Jul 22, 2018 12:16 pm Post subject: |
|
|
Code: | ...
D [20/Jul/2018:21:12:30 +0200] [Client 3] WWW-Authenticate: Basic realm=\"CUPS\", Local
... |
I think this is the issue and this link is related to it:
https://github.com/apple/cups/issues/5289
In summary seems a browser issue but you say that it happens in more than one browser... |
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Sun Jul 22, 2018 12:41 pm Post subject: |
|
|
quilosaq wrote: | Code: | ...
D [20/Jul/2018:21:12:30 +0200] [Client 3] WWW-Authenticate: Basic realm=\"CUPS\", Local
... |
I think this is the issue and this link is related to it:
https://github.com/apple/cups/issues/5289
In summary seems a browser issue but you say that it happens in more than one browser... |
I will double check that. Since I've been changing stuff while testing, it's worth another check. Thank you! _________________ Gentoo Handbook | My website |
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Sun Jul 22, 2018 6:50 pm Post subject: |
|
|
So, something to report back...
After reseting config to default, I can confirm that quillosaq was right: it's a chrome issue.
Bot firefox and palemoon work now. They failed in previous tests with a similar error, but it was probably due to some wrong setting in cupsd.conf while I was trying something... I wrongly assumed the cause was the same all along, and it wasn't.
So, now at least I have something else to check. I can't confirm it's a chrome bug though. _________________ Gentoo Handbook | My website |
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
|
Back to top |
|
 |
i92guboj Bodhisattva


Joined: 30 Nov 2004 Posts: 10310 Location: Córdoba (Spain)
|
Posted: Sun Jul 22, 2018 7:55 pm Post subject: |
|
|
Rrright.
I can confirm that updating from 2.2.7 to 2.2.8-r1 (needs unmasking) solves the issue. _________________ Gentoo Handbook | My website |
|
Back to top |
|
 |
AlbertVeli n00b

Joined: 15 Aug 2012 Posts: 7
|
Posted: Mon Aug 20, 2018 2:22 pm Post subject: |
|
|
I get the same problem with net-print/cups-2.2.7 and chrome. No authentication window opens. With firefox the authentication window pops up as it should and everything works just fine. |
|
Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|