[Samba] Samba / cups problem
Misty Stanley-Jones
misty at borkholder.com
Tue Sep 28 14:59:52 GMT 2004
Hi all,
I have set up a printer in cups and I can see it with lpstat -a, and I can
print to it. I put what I thought was the appropriate stuff in smb.conf, and
yet no printer shows up to the NT client I'm testing with, or in smbclient -L
output. Any ideas at all? Here is the relevant info:
### smb.conf excerpts ###
[global]
...
printing = cups
printcap name = cups
printcap cache time = 60
load printers = yes
...
[printers]
comment = All Printers
path = /data/samba/spool
browseable = yes
public = yes
guest ok = yes
writeable = no
printable = yes
printer admin = @admin
[print$]
comment = Printer Drivers Share
path = /data/samba/drivers
write list = root
printer admin = root
### Output from lpstat -a ###
oink:/usr/local/samba/lib # lpstat -a
truss_hp4050 accepting requests since Jan 01 00:00
### cups-generated printcap ###
oink:/data/samba # more /etc/printcap
# This file was automatically generated by cupsd(8) from the
# /etc/cups/printers.conf file. All changes to this file
# will be lost.
truss_hp4050|truss_hp4050:rm=oink:rp=truss_hp4050:
### permissions of Samba printer spool ###
oink:/data/samba # ls -ld spool
drwxrws--- 3 root root 4096 Sep 22 14:19 spool
### Output of smbclient -L
oink:/data/samba # smbclient -L oink
Password:
Domain=[CORP1] OS=[Unix] Server=[Samba 3.0.7]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers Share
software Disk Software for Samba computers
oldhomes Disk Novell Home Directories
DATA Disk
ENGR Disk
IPC$ IPC IPC Service (Samba 3.0.7)
ADMIN$ IPC IPC Service (Samba 3.0.7)
root Disk Home Directories
More information about the samba
mailing list