| Suse/Novell This Forum is for the discussion of Suse Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-31-2005, 02:54 PM
|
#1
|
|
Member
Registered: Mar 2005
Posts: 135
Rep:
|
Suse Cups - No support to SMB printers
Noon to all
I'm testing Suse 9.3 and got everything set.
What I'm trying to do now is adding a windows printer.
I went through the first screen of CUPS (Name, Location, Description) okay.
When I got to "Select Device", I couldn't find 'smb' (or anything that could be like it), so I picked up anyone.
I added the URI as if it was a smb printer: "smb://...", picked up Make (HP) and the Model (1300 Postscript).
Then I receive a "client-error-not-possible" and the printer is not added.
I download the tarball for CUPS and checked the configure options, but there was nothing like a "samba support".
Before I start compiling things out, is it possible to someone tell me if there's another way around?
|
|
|
|
09-01-2005, 03:16 AM
|
#2
|
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE 12
Posts: 3,511
Rep:
|
I think you need to install the samba-client package with YaST. Then you should find the option "Print via SMB network server" in the printer dialog of YaST.
|
|
|
|
09-01-2005, 04:31 AM
|
#3
|
|
Moderator
Registered: Aug 2001
Location: Fargo, ND
Distribution: SuSE AMD64
Posts: 15,733
|
I had a problem setting up a printer in SuSE. The reason was that cups runs as user "lp".
To configure the printer, I used the "lppasswd" command to add a user and password. I used my username and password so I wouldn't need to remember yet another password. ( You may need a password that has at least one number and is at least 6 characters long ).
If you have apache2 and cups installed, you could point your web browser to "localhost:631"
I believe that you could add a printer using the web interface also.
|
|
|
|
09-01-2005, 07:04 AM
|
#4
|
|
Member
Registered: Mar 2005
Posts: 135
Original Poster
Rep:
|
Hum, so probably it's a samba config?
I have samba compiled, I'm not using the distro packages.
I'll check the samba then.
|
|
|
|
09-01-2005, 08:38 AM
|
#5
|
|
Member
Registered: Mar 2005
Posts: 135
Original Poster
Rep:
|
Hum, nope, that didn't solve it.
I recompiled SAMBA using --enable-cups (first it complained, then I installed cups-devel and everything went fine).
But nope, CUPS still won't show me smb printers, and error_log will still show me the message: "bad device-uri attribute"
I'm really trying to avoid having to compile CUPS as well. Anyone has any other idea?
|
|
|
|
09-01-2005, 09:33 AM
|
#6
|
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE 12
Posts: 3,511
Rep:
|
You probably have your reasons not to use the SUSE package, but I think it is worth trying. Maybe the problem is connected to different paths/structure. You only need to install the client package. It could also be a firewall issue. Did you open the netbios port(s)?
|
|
|
|
09-01-2005, 11:35 AM
|
#7
|
|
Member
Registered: Mar 2005
Posts: 135
Original Poster
Rep:
|
Actually if I use the package from the CD, I'll have to go after its source, because I have a patch to be applied to smbspool.c.
Well, I'll see what I can do.
|
|
|
|
09-01-2005, 11:41 AM
|
#8
|
|
Senior Member
Registered: Mar 2004
Location: Munich
Distribution: SuSE 12
Posts: 3,511
Rep:
|
Should be no problem. Download the src.rpm, patch and rebuild the rpm. Interestingly, I could not find a separate samba-client.src.rpm. But maybe you wouldn't care anyway.
|
|
|
|
09-02-2005, 07:10 AM
|
#9
|
|
Member
Registered: Mar 2005
Posts: 135
Original Poster
Rep:
|
Okay, no problem at all.
A guy at cups.org gave me the solution.
Just copy or link the smbspool (/usr/local/samba/bin/smbspool) to the cups backend directory with the name of "smb" (/usr/lib/cups/backend/smb) and then restart cups.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 06:26 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|