LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 07-20-2003, 11:24 PM   #1
howlingyeti
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Rep: Reputation: 0
Building a Printserver


I have a PI 166mhz with 32mb of ram and a base install of debian 3.0r0. I was wondering what type of software would be needed to allow it to act as a print server on my home lan. It needs to be able to print from a linux machine and two windows machines. Would a combination of CUPS and samba get the job done? Any advice on how to set it up? Thanks.
 
Old 07-21-2003, 12:34 AM   #2
jayakrishnan
Member
 
Registered: Feb 2002
Location: India
Distribution: Slacky 12.1, XP
Posts: 987

Rep: Reputation: 30
ya both CUPS and samba will do
 
Old 07-21-2003, 12:53 AM   #3
howlingyeti
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Original Poster
Rep: Reputation: 0
For anyone else in my position this link has been helpful so far:

http://www.ibiblio.org/pub/Linux/doc...hared-Printing
 
Old 07-25-2003, 02:35 AM   #4
howlingyeti
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Okay. Well here's the an update and a question. I got CUPS and Samba installed on my printserver and everything configured locally just dandy. I can print stuff off on the printserver fine. I got the windows 98 machine hooked up and it prints off of the print server fine. The windows XP fisher price addition can see the samba work group, has correctly configured it's printer as a networked one but when I try to print it says (in XP) access deined unable to connect.

The samba logs say this:

printing/printing.crint_job_start(952)
print_job_start: insufficient permissions to open spool file
/home/smbprint/smbprn.000058.dkRSeg.

I configured samba to print using a public account called smbprint as directed to in the printing guide above. This is the important stuff far as I can tell out of my /etc/samba/smb.conf.

[Global]

printcap name = cups
printing = cups
security = share
encrypt passwords = true

[printers]

browseable = yes
path = /home/smbprint
printable = yes
public = yes
writable = no
create mode = 0700
guest only = yes
guest account = smbprint

I left the rest of the config file stock. Has anyone ran into this problem before? Should I abandon the public account samba configuration and just create a user on the printserver for each computer? Please help and thanks in advance.
 
Old 07-25-2003, 09:27 PM   #5
howlingyeti
LQ Newbie
 
Registered: Jul 2003
Posts: 10

Original Poster
Rep: Reputation: 0
Well, once again no one has replied with any type of help so far for my current problem. (Props to jayakrishnan for getting me headed in the right direction). Here's the current situation. I decided that the howto I mentioned earlier was pretty much worthless for any real world work considering how it used one account with no password for printing. Boom, rm /etc/samba/smb.conf time to start all over. Here's my current smb.conf

[global]
workgroup = homelan
security = share
encrypt passwords = yes
printing = cups
printcap name = cups
load printers = yes
log file = /var/log/samba-log.%m
lock directory = /var/log/samba

[printers]
comment = All Printers
security = server
path = /var/spool/cups
browseble = no
printable = yes
read only = yes
guest only = yes
writable = no
guest okay = yes
create mode = 0700

All windows machine have corresponding samba accounts with the same username and password as well as entries in smbpasswd with the same username and password. Windows 98 works flawlessly once again but Windows XP home has the same proble, access deined, unable to connect. After my new configuration the logs for the XP machine don't show any error at all. XP does not have the firewall activated. smb.conf passes a testparm. I have read the howtos, (Net,Printing,SMB) I have tried a google.com/linux. Somone please help! Does anyone know how I can get an error message? Are there XP logs I can check? Should put some tinfoil on my head and dance around while ouuga booga to appease the fickle XP gods? Any suggestions, options, hatemail welcome at this point... please!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
File- and printserver Ac1db0rN Linux - Networking 0 02-22-2005 12:09 AM
can't use dlink printserver mike998 Linux - Hardware 1 05-01-2004 03:25 PM
printserver micronet eduac Linux - General 0 01-08-2004 12:40 PM
Printserver with Mandrake 9.0 James_17 Linux - Networking 0 08-30-2003 10:54 AM
Printserver Sylhouette Linux - Software 2 06-02-2002 03:09 PM


All times are GMT -5. The time now is 01:12 AM.

Main Menu
 
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
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration