[cups] MacOs 10.8/9 with Cups relay server
stefanx
stefanx at lrz.uni-muenchen.de
Thu Jul 10 05:16:28 PDT 2014
Hello,
I have problems to get my printers to work on MacOs 10.8/9
with a Cups relay server (CUPS 1.4.3). The relay server
works without problems many years with clients supporting
cups browsing. I know that cups browsing was removed in
Cups 1.6 but I think configuring statically every single
printer should still work ? Trying that I get always
"Create-Job client-error-not-authorized":
D [09/Jul/2014:17:06:42 +0200] cupsdSetBusyState: Not busy
D [09/Jul/2014:17:06:42 +0200] cupsdAcceptClient: 16 from 10.153.229.17:631 (IPv4)
D [09/Jul/2014:17:06:42 +0200] cupsdReadClient: 16 POST /printers/hao HTTP/1.1
D [09/Jul/2014:17:06:42 +0200] cupsdSetBusyState: Active clients
D [09/Jul/2014:17:06:42 +0200] cupsdAuthorize: No authentication data provided.
D [09/Jul/2014:17:06:42 +0200] cupsdReadClient: 14 POST /printers/hao HTTP/1.1
D [09/Jul/2014:17:06:42 +0200] cupsdAuthorize: No authentication data provided.
D [09/Jul/2014:17:06:42 +0200] cupsdReadClient: 14 2.0 Create-Job 4
D [09/Jul/2014:17:06:42 +0200] Create-Job http://xxx.yyy.de:631/printers/hao
D [09/Jul/2014:17:06:42 +0200] Create-Job client-error-not-authorized: Der Drucker oder die Klasse sind nicht freigegeben!
E [09/Jul/2014:17:06:42 +0200] Returning IPP client-error-not-authorized for Create-Job (http://xxx.yyy.de:631/printers/hao) from 10.153.229.
17
Here my cupsd.conf:
ImplicitClasses On
ServerName cups.test.x.de
ServerAlias *
# Show general information in error_log.
LogLevel warn
MaxLogSize 100000
SystemGroup lpadmin
Port 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow @LOCAL
BrowseAddress @LOCAL
BrowseProtocols cups
BrowseShortNames Yes
BrowseInterval 30
BrowsePort 631
BrowseTimeout 300
BrowsePoll 10.10.74.152
BrowsePoll 10.10.74.144
BrowsePoll 10.10.73.16
BrowseRelay 127.0.0.1 10.10.229.255
DefaultAuthType Basic
<Location />
Order allow,deny
Allow all
</Location>
<Location /admin>
Order allow,deny
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
Order allow,deny
</Location>
<Policy default>
<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 CUPS-Move-Job CUPS-Get-Document>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<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
</Limit>
<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 CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
<Policy authenticated>
<Limit Create-Job Print-Job Print-URI>
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 CUPS-Move-Job CUPS-Get-Document>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<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>
<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 CUPS-Accept-Jobs CUPS-Reject-Jobs>
AuthType Default
Require user @SYSTEM
Order deny,allow
</Limit>
<Limit Cancel-Job CUPS-Authenticate-Job>
AuthType Default
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
<Limit All>
Order deny,allow
</Limit>
</Policy>
Any ideas ?
Thanks Stefan
More information about the cups
mailing list