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 -- |
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?
|
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.
|
Working Samba/CUPS setup on Redhat 8?
Hook a brother up!
|
Should this thread be in Networking?
|
Bump
|
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]# |
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. |