LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 11-04-2004, 10:24 PM   #1
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Rep: Reputation: 30
CUPS and SAMBA, please help!


I'm getting on windows 'you do not have sufficient access to your computer to connect to the selected printer'

I don't know what's wrong, stuff prints from kwrite in linux, here is my samba.conf

[global]
server string = Linucks
; server string = Samba Serv
; username map = /etc/samba/smbusers
; password server = None
guest ok = yes
netbios name = Samba

# Setting up CUPS for SAMBA
# This will be used in section QQ2
printcap name = cups
printing = cups
security = share

time server = yes

;hosts allow = 192.168. 127.
;log file = /var/log/samba/%m.log

;socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

[Downloads]
comment = Downloads
path = /mnt/hdb1
browseable = yes
writeable = no
; writeable = yes

# Section QQ2 is below
[printers]
browseable = yes
printable = yes
public = yes
create mode = 0700
guest only = yes
guest account = smbprint
path = /home/smbprint
 
Old 11-05-2004, 09:25 AM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Can the user smbprint print locally without any problems? This could be a permissions issue on the spool/temp dirs.
 
Old 11-05-2004, 01:27 PM   #3
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
Yes, smbprint can print locally in kwrite without any problems. Any ideas?

Here's a screenshot of the error in windows

http://www.uberleet.org/samba.gif

Last edited by jon_k; 11-05-2004 at 01:33 PM.
 
Old 11-05-2004, 03:31 PM   #4
jon_k
Member
 
Registered: Jul 2003
Location: Fort Worth, Texas
Distribution: Mepis Linux 2004
Posts: 547

Original Poster
Rep: Reputation: 30
I decided to solve the problem through a different route.

Just set cups up with your printer, make sure cups can work with it... then add the printer through windows according to http://support.microsoft.com/?kbid=324078

The following LQ article may also be of assistance:
http://www.linuxquestions.org/questi...jump&bmid=1062


This may help others at a later date whom might stumble upon this thread.

This is the same solution as the person who is replying below uses.

Last edited by jon_k; 11-05-2004 at 05:48 PM.
 
Old 11-05-2004, 03:57 PM   #5
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I used to use Samba to print to cups from a windows box as well. I recently switched over and bypassed samba totally by setting up the windows box to print using IPP directly to cups. In windows you just add a network printer and type in the full url to your cups printer. In my case its:

http://192.168.0.102:631/printers/HP-DeskJet-3820

As long as cups.conf is configured to allow connections from your windows box you will be good to go.
 
  


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



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 02:33 AM
Samba and Cups ezra143 Linux - Networking 1 05-09-2005 07:47 PM
Samba and CUPS ghuber Linux - Networking 0 12-11-2003 11:42 AM
cups and samba smurf Linux - Software 0 05-30-2003 01:37 PM
NT on Samba using CUPS DJFauß Linux - Networking 0 11-16-2002 04:58 AM

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

All times are GMT -5. The time now is 03:18 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