Linux - SoftwareThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
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)
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.