LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-30-2007, 08:34 AM   #1
wauwha
LQ Newbie
 
Registered: Jun 2005
Location: Bronderslev, Denmark
Distribution: Slackware 12.1
Posts: 16

Rep: Reputation: 0
Problems with printers.conf, cups and samba


I am trying to print to get my CUPS to print to samba-shared printers. I have no control over the samba-server.

The deviceURI in my printers.conf is in the format:
Code:
smb://username:password@server
My problem is, that my password contains a '#', causing cups to parse the rest of the line as a comment, i.e.:

When looking at printers.conf:
Code:
smb://username:pass#word@server
In the web interfact it becomes:
Code:
smb://username:pass
I've tried using every escape character I could think of (\,'',""), but this had no effect.

The strange thing is, that if i add the printer thorough the CUPS web interface, it works until CUPS is restarted. After restart, it parses the printers.conf wrongly (i.e. wrong with respect to my needs)

Any suggestions to what I might do?

Best

Last edited by wauwha; 05-30-2007 at 08:37 AM.
 
  


Reply

Tags
cups, samba



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
cups/samba print w/o passwd in printers.conf? jshaffer Linux - Networking 1 03-29-2010 06:26 AM
backing up printers in cups GUIPenguin Linux - General 1 06-23-2005 11:39 AM
CUPS printers not available until Samba is restarted ikletti Linux - Networking 0 05-21-2004 08:43 AM
Printers and cups Pedroski Linux - Hardware 1 10-05-2003 06:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:11 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration