LinuxQuestions.org
Review your favorite Linux distribution.
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 10-06-2005, 01:26 PM   #1
Thakowbbery
Member
 
Registered: Mar 2005
Posts: 138

Rep: Reputation: 17
CUPS printer through SAMBA


Good afternoon

I have a file/print server with CUPS and SAMBA installed. The machine is a Slackware 10.1.
I configured the printer (a remote HP 1300n) in CUPS using the browser interface, and I added a "AllowUser @<group>" line to the printers.conf section of the HP, for group policies.
I installed the printer at a Windows client (using internet printer) and it worked just fine, all the printing and the group access policy (some users allowed to, others not).

What I want now is to share that printer through SAMBA (so things are a little more transparent to some users), but when I install the printer at Windows, it says "Cannot connect. Access denied".

Soon, I'll be adding more printers, and I need to share them all as well.
I've been "googling" for quite some time and still couldn't find anything.

Some things I noticed

1) At /var/spool/ there is the cups directory and there's another directory with my printer's name (HP1300). To which one of those must I point the parameter "path" at "smb.conf"?
2) Which local permission should I set to the directory?
3) Lots os people are always setting the "path" as /var/spool/samba. But that directory doesn't seen to exist. Must I create it? If so, which permissions should I set to it?
 
Old 10-06-2005, 01:39 PM   #2
Alien Bob
Slackware Contributor
 
Registered: Sep 2005
Location: Eindhoven, The Netherlands
Distribution: Slackware
Posts: 8,559

Rep: Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106Reputation: 8106
Hi

There is too much to explain in a single post, to get CUPS and Samba in tandem. But thankfully, there is very good and detailed information in the Samba HOWTO and official Samba docs
Good luck,

Eric
 
  


Reply



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
Help printer from a samba shared printer from linux (using cups) epod69 Linux - Networking 3 12-04-2005 10:44 PM
sharing CUPS printer with SAMBA shellcode Linux - General 14 07-30-2005 09:15 AM
network printer samba + cups brasuca Linux - Networking 1 05-25-2004 04:44 AM
Samba and Cups Printer Issue. gsmonk Linux - Networking 1 08-18-2003 03:01 PM
Samba printing to CUPS printer kris.kj.jacobs Linux - Networking 1 11-02-2001 03:42 PM

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

All times are GMT -5. The time now is 04:31 PM.

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