LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Redhat 8 Samba Printing (https://www.linuxquestions.org/questions/linux-software-2/redhat-8-samba-printing-50930/)

bax 03-20-2003 09:26 PM

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 --

bax 03-20-2003 09:51 PM

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?

bax 03-21-2003 05:40 PM

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.

bax 03-21-2003 07:58 PM

Working Samba/CUPS setup on Redhat 8?
 
Hook a brother up!

bax 03-21-2003 09:27 PM

Should this thread be in Networking?

bax 03-22-2003 10:53 AM

Bump

bax 03-22-2003 12:10 PM

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]#

bax 03-22-2003 01:34 PM

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.


All times are GMT -5. The time now is 06:21 AM.