I was doing some work on my Debian machine and updated the samba packages. That was broken for a while and then I got it working again. Then I noticed that I couldn't print from anywhere - not in Linux nor in Windows! I tried an apt-get upgrade and a whole bunch of ppackages were held back. I hate when that happens. How do I just tell it to go ahead anyway?
So I noticed that one of the held back packages was cups. I got that installed and now I can print from Linux again, but I still can't print from Windows.
I'm not 100% sure, but I think Windows can see the printers, but can't send anything to print. It just remains in the print queue in Windows.
Here are the relevant parts of my smb.conf:
Code:
[global]
security = SHARE
guest account = smbprint
max log size = 1000
printcap name = cups
[printers]
comment = All Printers
path = /home/smbprint
read only = No
create mask = 0700
guest only = Yes
guest ok = Yes
printable = Yes
use client driver = Yes
browseable = No
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = Yes
I tried for the past two hours to figure this out, but I'm getting sleepy.
The output above is what I ran through testparm -s and one thing I'd like to know is why it says browseable = No if I have browseable = Yes in my smb.conf. Here's what it looks like in my smb.conf:
Code:
[printers]
comment = All Printers
browseable = yes
# path = /tmp
path = /var/spool/samba
printable = yes
public = yes
writable = yes
create mode = 0700
guest only = yes
guest account = smbprint
path = /home/smbprint
use client driver = yes
I know that's not the complete source of my problems - or maybe it is? I'm not sure. Also, I'm using Samba 3.2.3.