LinuxQuestions.org
Help answer threads with 0 replies.
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 03-20-2003, 09:26 PM   #1
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Rep: Reputation: 30
Redhat 8 Samba Printing


Hi all. I'm having problems getting shared printers working on Redhat 8. I can see the printer and connect to it using KDE's printing manager but I can't get it to print. The log files aren't showing anything. I think I'm not defining my printcap properly so I'm posting my smb.conf here. Thanks for taking a look!
[global]
path = /var/spool/cups
passwd program = /usr/bin/passwd %u
domain master = True
printing = cups
dns proxy = No
null passwords = Yes
encrypt passwords = Yes
valid users = bax morbo amy nobody
invalid users = root
wins support = true
printcap name = /etc/printcap/
max log size = 1000
hosts allow = 192.168.1.
obey pam restrictions = Yes
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n .
username level = 8
map to guest = Bad User
security = user
message command = /bin/sh -c '/usr/bin/linpopup
server string = %h server (Samba %v)
workgroup = SHEP
syslog = 0
netbios name = PRINTSERVER
log file = /var/log/samba/log.%m
load printers = yes
os level = 35
default = printers

[homes]
path = %H
writeable = yes
valid users = bax,morbo,amy,nobody
comment = Home Directories
public = yes
create mask = 0700
directory mask = 0700
level 2 oplocks = yes
[printers]
comment = All Printers
path = /tmp
guest ok = Yes
use client driver = Yes
printable = yes
print command = lp -d %p -o raw %s; rm -f %s
create mask = 0700

[Laserjet]
writable = yes
browseable = yes
use client driver = Yes
guest ok = Yes
oplocks = No
printable = yes
print command = lp -d %p -o raw %s; rm -f %s
printer name = Laserjet
create mask = 0700

~
-- INSERT --
 
Old 03-20-2003, 09:51 PM   #2
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Should I be using lpstat for the printcap? I've found some references to Redhat and that problem but I don't know if it's relevant to Redhat 8?
 
Old 03-21-2003, 05:40 PM   #3
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Well using lptstat as the printcap name didn't work. There has GOT to be someone on these forums that has a working Redhat Samba/CUPS setup.
 
Old 03-21-2003, 07:58 PM   #4
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Working Samba/CUPS setup on Redhat 8?

Hook a brother up!
 
Old 03-21-2003, 09:27 PM   #5
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Should this thread be in Networking?
 
Old 03-22-2003, 10:53 AM   #6
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Bump
 
Old 03-22-2003, 12:10 PM   #7
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Here's what happens

Here's what happens when I run this:
[root@Morbo bax]# smbclient -L printserver
added interface ip=192.168.1.106 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Domain=[SHEP] OS=[Unix] Server=[Samba 2.2.7]

Sharename Type Comment
--------- ---- -------
homes Disk Home Directories
Laserjet Printer
Lexmark Printer
IPC$ IPC IPC Service (printserver server (Samba 2.2.7))
ADMIN$ Disk IPC Service (printserver server (Samba 2.2.7))

Server Comment
--------- -------
PLANETEXPRESS
PRINTSERVER printserver server (Samba 2.2.7)

Workgroup Master
--------- -------
SHEP PRINTSERVER
[root@Morbo bax]#
 
Old 03-22-2003, 01:34 PM   #8
bax
Member
 
Registered: Dec 2001
Location: NoVA
Distribution: Ubuntu, Solaris, OpenBSD
Posts: 492

Original Poster
Rep: Reputation: 30
Moderator

Can I have this moved to Networking? Not getting any help in this forum and I notice most other Samba threads are in the Networking forum.
 
  


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 and Printing anickless Linux - Networking 7 12-16-2005 11:10 AM
printing through samba doralsoral Linux - Software 4 08-12-2004 11:38 PM
samba not printing tddlard Linux - Software 5 12-29-2003 08:42 PM
Samba printing leonardox Linux - Networking 1 08-30-2003 11:49 PM
Help ! Printing with Samba in RedHat 9 kkempter Linux - Software 9 08-04-2003 09:49 PM


All times are GMT -5. The time now is 05:03 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 Google+: linuxquestions
Open Source Consulting | Domain Registration