Samba network printing not working
Hi,
I have an HP Officejet connected via USB to my Ubuntu 7.04 server (192.168.2.10). Network is up and running and sharing folders with Samba works. The printer also prints fine when I print something from the server.
Now I would like to share this printer with other Linux and Win computers on the network. My smb.conf is at the end of this post.
My problem:
When I 'add printer' on a Win client, it finds the network printer, but then says: "The server for the printer does not have the correct printer driver installed." I can then select an appropriate driver from the list (HP Officejet) and the printer gets added to the list of printers, however the status shows
"Access denied, unable to access" and it won't even print a test page.
Thanks for your help!
hmhmhm
smb.conf:
[global]
netbios name = server1
server string = server1
workgroup = workgroup
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
log file = /var/log/samba/%m.log
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
wins support = yes
; hostname lookups = yes
; hosts equiv = /etc/hosts
hosts allow = 192.168.2.0/255.255.255.0 localhost
hosts deny = All
interfaces = eth0 eth1 lo bond0
bind interfaces only = yes
guest ok = yes
browse list = yes
printcap name = cups
printing = cups
load printers = yes
[public]
path = /home/public
comment = Shared folders
guest ok = yes
create mode = 0766
browseable = yes
public = yes
read only = no
[home_dir]
comment = User's home directory
path = /home/%U
read only = no
valid users = %U root
[printers]
comment = All Printers
path = /var/spool/samba
create mask = 0700
printable = Yes
browseable = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
guest ok = yes
browseable = yes
read only = yes