LINUX.ORG.RU

Сообщения vvpoloskin

 

CUPS 1.4.4 SHared Printer

Кто-нибудь, помогите!
Есть CUPS 1.4.4 на Debian 6.0.
Пытаюсь расшарить принтер для Ubuntu 10.04, ничего не получается.

Лог Принтера
E [03/Jun/2011:12:35:41 +0100] Returning HTTP Запрещено for Get-Printer-Attributes (ipp://10.12.35.148:631/printers/HP_LaserJet_M1120n_MFP) from 10.12.35.147
E [03/Jun/2011:12:36:09 +0100] Returning HTTP Запрещено for Get-Printer-Attributes (ipp://10.12.35.148:631/printers/HP_LaserJet_M1120n_MFP) from 10.12.35.147
E [03/Jun/2011:12:41:32 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:42:01 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:42:04 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:42:05 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:42:30 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:42:31 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:42:33 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:42:34 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:42:50 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:12:44:18 +0100] Returning HTTP Запрещено for Get-Printer-Attributes (ipp://10.12.35.148:631/printers/HP_LaserJet_M1120n_MFP) from 10.12.35.147
E [03/Jun/2011:12:44:24 +0100] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/HP_LaserJet_M1120n_MFP) from localhost
E [03/Jun/2011:12:44:37 +0100] Returning IPP client-error-not-authorized for Create-Job (ipp://localhost:631/printers/HP_LaserJet_M1120n_MFP) from localhost
E [03/Jun/2011:12:44:53 +0100] Returning HTTP Запрещено for CUPS-Get-Printers (no URI) from 10.12.35.147
E [03/Jun/2011:12:45:07 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:13:07:56 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:13:11:07 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:13:11:58 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:13:12:23 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:13:12:24 +0100] [CGI] Saw EOF, expected '}'!
E [03/Jun/2011:13:13:40 +0100] Returning HTTP Запрещено for CUPS-Get-Printers (no URI) from 10.12.35.147
E [03/Jun/2011:13:14:04 +0100] Returning HTTP Запрещено for Get-Printer-Attributes (ipp://10.12.35.148/printers/HP_LaserJet_M1120n_MFP) from 10.12.35.147
E [03/Jun/2011:13:14:06 +0100] Returning HTTP Запрещено for Get-Printer-Attributes (ipp://10.12.35.148/printers/HP_LaserJet_M1120n_MFP) from 10.12.35.147
E [03/Jun/2011:13:14:46 +0100] Returning HTTP Запрещено for CUPS-Get-Printers (no URI) from 10.12.35.147

####################################################################
#/etc/cups/cupsd.conf
####################################################################
LogLevel warn
MaxLogSize 0
SystemGroup lpadmin
# Allow remote access
Port 631
Listen /var/run/cups/cups.sock
# Listen 10.12.35.148:631
# Enable printer sharing and shared printers.
Browsing On
BrowseOrder allow,deny
BrowseAllow all
BrowseRemoteProtocols CUPS
BrowseAddress @LOCAL
BrowseLocalProtocols CUPS dnssd
DefaultAuthType Basic
<Location />
Order deny,allow
Deny from All
Allow from 127.0.0.1
Allow from 10.12.35.128/255.255.255.128
</Location>
<Location /admin>
# Restrict access to the admin pages...
Order allow,deny
</Location>
<Location /admin/conf>
AuthType Default
Require user @SYSTEM
# Restrict access to the configuration files...
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
Deny from All
Allow from 127.0.0.1
Allow from 10.12.35.128.255.255.255.0
</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>

Подскажите, люди умные, что делать.

vvpoloskin ()

RSS подписка на новые темы