[cups.general] Samba printers bad uri (corrected)

Thierry Leurent thierry.leurent at asgardian.be
Mon Jun 22 08:27:38 PDT 2009


Hello,

I have user who work on a Linux application using a web interface. To able
the user to print on her "own" printer, I have share this printer on
windows.
When I want define this printer in cups, I have this message Bad
device-uri "smb://User:@Password@MyLittleDomain/ZeDesktop/H3800-2" (@ in
password is normal).

I can use the cups web interface or the system-config-printer, have the
same trouble.

If I used "smb://MyLittleDomain/ZeDesktop/H3800-2", It's work. I must edit
printers.conf, I replace the uri by
"smb://User:@Password@MyLittleDomain/ZeDesktop/H3800-2" and it work.


I use cups cups-libs-1.3.7-8.el5_3.6 and cups-1.3.7-8.el5_3.6.

Logs

D [18/Jun/2009:17:26:53 +0200] cupsdReadClient: 9 POST /admin/ HTTP/1.1
D [18/Jun/2009:17:26:53 +0200] cupsdAuthorize: Authorized as root using Local
D [18/Jun/2009:17:26:53 +0200] CUPS-Add-Modify-Printer
ipp://localhost/printers/printer
D [18/Jun/2009:17:26:53 +0200] cupsdIsAuthorized: username="root"
D [18/Jun/2009:17:26:53 +0200] CUPS-Add-Modify-Printer
client-error-not-possible: Bad device-uri
"smb://User:@Password@MyLittleDomain/ZeDesktop/H3800-2"!
D [18/Jun/2009:17:26:53 +0200] add_printer: httpSeparateURI returned -4
D [18/Jun/2009:17:26:53 +0200] cupsdProcessIPPRequest: 9 status_code=404
(client-error-not-possible)
Do you have an idea ?


-- 
Thierry Leurent




-- 
Thierry Leurent
Phone  : +32 476/20.23.98
E-mail : thierry.leurent at asgardian.be
Website (en developpement) : http://www.asgardian.be






More information about the cups mailing list