Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 09-30-2003, 05:56 PM   #1
LQ Newbie
Registered: Sep 2003
Location: .SE
Distribution: Debian
Posts: 12

Rep: Reputation: 0
Unhappy Linuxprinting with CUPS and SAMBA "weird error"

Story: I have installed Debian with 2.4 kernel and without x-windows and i have also installed cups-1.1.20rc2 together with SAMBA and configured it according to all how-to's, guides etc.

Problem: I cant print from my win2k-client to my linux-box, i am able to install the printer and also checking the properties (in win2k) but not able to print. I can connect to all shares and everything but not to printer. I am able to print from linux. I have tried at least 15 - 20 different conf-files but without result. I am also using a account in win2k that also exists in my linuxbox. I was able to print 1 time but then it said that the printer could not be connected but still i could print, but now i have screwed up the conf-files and re-installed CUPS again. What shall I do?

--// smb.conf //--

path = /home/smbprint
passwd program = /usr/bin/passwd %u
printing = cups
dns proxy = no
encrypt passwords = yes
socket options = TCP_NODELAY
printcap name = cups
max log size = 1000
dead time = 10
writable = yes
printer = Brother_HL1440
obey pam restrictions = yes
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
security = share
workgroup = WORKGROUP
server string = %h server (Samba %v)
syslog = 0
log file = /var/log/samba/log.%m
netbios name = Aristoteles
load printers = yes
os level = 20
public = yes


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

--// cupsd.conf //--

<Location /printers>
AuthType None
Order Deny,Allow
Deny From None
Allow From All

(i did not forget this either, nor mime.convs or mime.types)

Anyone familiar with this matter, please help...!?
Old 10-01-2003, 10:18 AM   #2
LQ Newbie
Registered: Sep 2003
Location: Woburn, MA
Distribution: Mandrake 9.1
Posts: 25

Rep: Reputation: 15
I'm not a samba guru but I thought I saw something recently regerding the security line. you might want to check some samba setup (howto) sites regarding the "security=" line. could have sworn that they recommended "user"
Old 10-01-2003, 11:47 AM   #3
Registered: Jul 2003
Location: Birmingham, UK
Distribution: Ubuntu,Debian
Posts: 381

Rep: Reputation: 30
I am running SAMBA as a print server just fine, but I am not using CUPS. From what I have seen CUPS isnt properly supported. I use lprng. This is my config file:

# Samba config file created using SWAT
# from (
# Date: 2003/07/22 19:10:15

# Global parameters
        workgroup = MSHOME
        netbios name = PRINTSERVER
        server string = RH8 Print Server
        security = SHARE
        encrypt passwords = Yes
        passwd program = /usr/bin/passwd %u
        passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
        username map = /etc/samba/
        unix password sync = Yes
        log file = /var/log/samba/%m.log
        max log size = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printing = lprng

        comment = All Printers
        path = /var/spool/samba
        guest ok = Yes
        printable = Yes
        use client driver = Yes
        browseable = No
Old 10-01-2003, 12:53 PM   #4
LQ Newbie
Registered: Sep 2003
Location: .SE
Distribution: Debian
Posts: 12

Original Poster
Rep: Reputation: 0
as answer to mikeb222: security = share ahve worked before, and i am also using a firewall

and yes, maybe i will throw out that bloody CUPS and install lprng, thanx!!


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
server-error-internal-error with CUPS "Configure Printer" fskmh Slackware 6 06-05-2013 02:51 PM
Samba + CUPS "Access denied, unable to connect" error lirik Linux - Networking 10 10-13-2011 02:09 PM
CUPS w/two HP printers "media tray empty" error OhMyAchingGut Linux - Hardware 2 01-20-2005 09:34 PM
cups Error "CUPS daemon has died" susesarus Linux - Software 2 08-21-2004 04:43 PM
f-prot anti-virus "Segmentation fault" error and other weird stuff dalek Linux - Software 9 10-22-2003 08:37 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:48 AM.

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