LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-28-2010, 08:15 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
Can not print to printer on samba share, even though it is accessible?


I'm running slack64-current. I setup samba to share a printer on my home network. I can print to the printer locally. The printer is visible on the network. However when I try to print anything on the printer via samba (or cups for that matter) from either the local machine or the remote machine, everything acts as if the job went through, but nothing happens. I'm sure I've seen this before on another slack machine that is currently unavailable, but I can't remember what the answer was, and I'm trying to be more precise with this setup so that I actually learn something.

smb.conf
PHP Code:
#======================= Global Settings =====================================
[global]
workgroup workgroup
server string 
Samba Server
security 
user
hosts allow 
192.168.1.
load printers yes
printcap name 
= /etc/printcap
passdb backend 
tdbsam




#============================ Share Definitions ==============================
[homes]
;   
comment Home Directories
;   browseable no
;   writable yes

# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
;   
comment Network Logon Service
;   path = /usr/local/samba/lib/netlogon
;   guest ok yes
;   writable no
;   share modes no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
;    
path = /usr/local/samba/profiles
;    browseable no
;    guest ok yes


# NOTE: If you have a BSD-style print system there is no need to 
# specifically define each individual printer
[printers]
   
comment All Printers
   path 
= /var/spool/samba
   browseable 
yes
# Set public = yes to allow user 'guest account' to print
   
guest ok no
   writable 
yes
   printable 
yes
   valid users 
dtest 
smbclient -L
PHP Code:
bash-3.1# smbclient -L i7
Enter root's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.4]

        Sharename       Type      Comment
        ---------       ----      -------
        homes           Disk
        IPC$            IPC       IPC Service (Samba Server)
        test            Printer
        hp              Printer   hp
        root            Disk      Home directory of root
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.4.4]

        Server               Comment
        ---------            -------
        DELL                 DELL server (Samba, Ubuntu)
        I7                   Samba Server

        Workgroup            Master
        ---------            -------
        WORKGROUP            DELL 
Any clues as to what I've left out?
 
Old 01-28-2010, 09:01 PM   #2
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
Hi damgar, Welcome to LQ. You could try the create mode line and/or the print command option.

Code:
[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = yes
# Set public = yes to allow user 'guest account' to print
   guest ok = no
   writable = yes
   printable = yes
   create mode = 0700
   valid users = dtest
Good luck. ;-)
 
1 members found this post helpful.
Old 01-28-2010, 09:33 PM   #3
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949

Original Poster
Blog Entries: 8

Rep: Reputation: 203Reputation: 203Reputation: 203
You Sir (or Madam), were dead on!

Thanks
PHP Code:
   create mode 0700 
 
Old 01-28-2010, 10:13 PM   #4
Peacedog
LQ Guru
 
Registered: Sep 2003
Location: Danville, VA
Distribution: Slackware, Windows, FreeBSD, OpenBSD, Mac OS X
Posts: 5,296

Rep: Reputation: 168Reputation: 168
You're welcome, glad you got it sorted.

Good luck. ;-)
 
  


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 share visible not accessible vinod Linux - Security 2 02-04-2007 11:05 AM
Samba share is not accessible tanveer Linux - Software 2 09-25-2006 02:51 PM
Samba share accessible to winxp but not mdk 10.1 joseph_k Mandriva 4 03-31-2005 08:59 AM
Samba share not accessible Quercus Linux - Software 2 12-07-2003 08:43 AM
samba printer share making PDF - Docs out of any print saavik Linux - Software 0 02-27-2003 11:07 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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