Unable to connect to cups server localhost: 631-C

Source: Internet
Author: User

[2011/03/24 19:42:14, 0] printing/print_cups.c: cups_connect (68)
Unable to connect to cups server localhost: 631-Connection denied

Solution: add the following settings to smb. conf:
Load printers = No
Printing = BSD
Printcap name =/dev/null
Disable SPOOLSS = Yes
Description:
When wocould you set the global parameter disable SPOOLSS?
Setting this parameter to Yes disables samba's support for the SPOOLSS set of MS-rpcs and yields behavior identical to Samba 2.0.x. Windows NT/2000 clients can downgrade to using LANMAN style printing commands. windows 9x/me are unaffected by the parameter. however, this disables the ability to upload printer drivers to a Samba server via the Windows NT/200x Add Printer wizard or by using the NT printer Properties dialog window. it also disables the capability of Windows NT/200x clients to download print drivers from the samba host on demand. be extremely careful about setting this parameter.
The alternate parameter use client driver applies only to Windows NT/200x clients. it has no effect on Windows 95/98/me clients. when serving a printer to Windows NT/200x clients without first installing a valid printer driver on the samba host, the client is required to install a local printer driver. from this point on, the client treats the printer as a local printer and not a network printer connection. this is much the same behavior that occurs when disable SPOOLSS = yes.
Under normal circumstances, the NT/200x client attempts to open the network printer using MS-RPC. because the client considers the printer to be local, it attempts to issue the openprinterex () call requesting access rights associated with the logged on user. if the user possesses local administrator rights but not root privilege on the samba host (often the case), the openprinterex () call fails. the result is that the client now displays an "Access denied; unable to connect" message in the printer queue window (even though jobs may be printed successfully ). this parameter must not be enabled on a print share that has a valid print driver installed on the Samba server

Source of the original article (Click here)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.