4
I've got a HP Deskjet hooked up to a Slackware 12.2 box. I've got CUPS set up and can print a test page from the box just fine. I've also got Samba set up and have a couple file shares that work fine.
I'm trying to share that HP Deskjet out via Samba, but I can't get it to show up in any Windows system. I see the server and its file shares in Windows networking, but when I open the Printers, no printer shows up. Running net view \\servername
from the command line lists the file shares, but no printers.
Here's the pertinent part of my smb.conf, if that helps:
[global]
workgroup = HOMENET
security = share
hosts allow = 192.168.1. 192.168.2. 127.
load printers = yes
printcap name = cups
printing = cups
log file = /var/log/samba.%m
max log size = 50
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
writable = no
printable = yes
guest only = yes
Can anyone give me some pointers as to where to start looking for potential causes?
Update: Running testparm shows no errors. Here's the output (minus the file shares):
[global]
workgroup = HOMENET
security = SHARE
log file = /var/log/samba.%m
max log size = 50
printcap name = cups
hosts allow = 192.168.1., 192.168.2., 127.
[printers]
comment = All Printers
path = /var/spool/samba
guest only = Yes
guest ok = Yes
printable = Yes
browseable = No
does your path
/var/spool/samba
exist? – Kurt Pfeifle – 2010-07-29T23:12:58.880Which version of Samba have you installed? Which version(s) of Windows clients have you tested? – Kurt Pfeifle – 2010-07-29T23:16:04.440
Is your CUPS configured to share printers? Is your
smbd
compiled with support forlibcups
? [Runldd smbd | grep libcups
to find out...] – Kurt Pfeifle – 2010-07-29T23:21:34.710can you do a testparm and update your question? – caliban – 2009-09-03T03:21:53.587
Do you still have this problem? – Der Hochstapler – 2012-04-26T23:38:32.080