acces denied windows printer
David Hlacik
david at hlacik.eu
Mon Feb 4 07:42:55 PST 2008
Hi , i have a local raw printer configured on CentOS 5.1
I am using samba to connect printer remotely from Windows Vista.
The think is that Vista is unable to recieve printer status from server, but i am able to print on that printer from Vista)
Here i am posting cups configuration (smb configuration is unchanged and leaved by default) i am loging in as user which account is created on server.
Is there any better way to use windows - smb - cups than having a printer on server in raw mode? I am using cups-hal which autocreated a printer for my. I can use it from Linux, i can print a test page using cups - but i cannot print on it from Windows.
Thanks in advance!
cupsd.conf
---------------------------------------
LogLevel info
SystemGroup sys root
Listen 631
Listen /var/run/cups/cups.sock
Browsing On
BrowseOrder allow,deny
BrowseAllow 10.10.0.0/16
DefaultAuthType Basic
<Location />
Order allow,deny
Allow 10.10.0.0/16
</Location>
<Location /admin>
Encryption Required
Order allow,deny
Allow 10.10.0.0/16
</Location>
<Location /admin/conf>
AuthType Basic
Require user @SYSTEM
Order allow,deny
Allow 10.10.0.0/16
</Location>
<Policy default>
# Job-related operations must be done by the owner or an adminstrator...
<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>
Require user @OWNER @SYSTEM
Order deny,allow
</Limit>
# All administration operations require an adminstrator to authenticate...
<Limit Pause-Printer Resume-Printer Set-Printer-Attributes 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-Add-Printer CUPS-Delete-Printer CUPS-Add-Class CUPS-Delete-Class CUPS-Accept-Jobs CUPS-Reject-Jobs CUPS-Set-Default>
AuthType Basic
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>
----------------------------------------------------------------
printers.conf
----------------------------------------------------------------
<Printer HP_Deskjet>
Info HP Deskjet 3740
Location Local Printer
DeviceURI usb://HP/Deskjet%203740?serial=TH48S12120040Q
State Idle
StateTime 1202136916
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>
More information about the cups
mailing list