Samba+CUPS+Win98: did not submit print job to cups
Marc Kelly
marc at marcandkayoko.net
Tue Jan 6 19:23:07 PST 2004
Hi. I moved my printer from parallel port on Win98 to parallel port on
FreeBSD. I can now print from FreeBSD using CUPS (hooray!). But I've had a
lot of trouble even adding a printer share on my Win98 client. The printer
share is browsable. (Though I had to give a password. I thought guest ok
would not require password). But Win98 would always error saying "Could not
add printer." I never figured out why. Anyway, I had the printer driver
installed on Win98 already (printer used to live there). I added a "port"
and changed from parallel to "\\Cadence\epson" within the exising printer
properties. Win98 accepted it. But is it valid? I print from notepad and
see my print job in the printer queue from Win98. But CUPS says it's nowhere
to be found. Nothing. I assume my problem is with Samba, since I can print
from CUPS locally.
What in the world am I doing wrong? I turned up log level to "4", but the
problem isnt apparent to me. My [homes] does work when I map it through
explorer.
My smb.conf:
[global]
log level = 1
workgroup = MANDK
server string = Cadence
hosts allow = 192.168.1. 127.
load printers = yes
printcap name = /etc/printcap
pid directory = /var/run/
lock directory = /var/spool/lock/
printcap name = cups
printing = cups
guest account = ftp
log file = /var/log/samba.%m
max log size = 500
security = user
encrypt passwords = yes
lanman auth = no
socket options = TCP_NODELAY
interfaces = sis0
bind interfaces only = yes
browseable = yes
local master = yes
os level = 33
domain master = yes
preferred master = yes
domain logons = yes
wins support = yes
dns proxy = no
template homedir = /home/%U
#============================ Share Definitions ==============================
[homes]
comment = Home Directories
browseable = no
writeable = yes
guest ok = no
create mode = 0770
directory mode = 0770
read only = no
[netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
guest ok = yes
writeable = no
share modes = no
read only = yes
[Profiles]
path = /usr/local/samba/profiles
browseable = no
guest ok = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = Yes
guest ok = yes
writeable = no
printable = yes
More information about the freebsd-questions
mailing list