Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
CUPS + Samba problem with cupsaddsmb
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Hanzz
n00b
n00b


Joined: 12 Oct 2005
Posts: 2
Location: Amsterdam

PostPosted: Sun Nov 06, 2005 5:04 pm    Post subject: CUPS + Samba problem with cupsaddsmb Reply with quote

I have a problem with the automatic driver download for my HP psc 2410.
I got samba and cups working ok, and I can logon to the cups page on http://printerserver:631
Printing a test page from there works just fine.

However when I try to add the drivers for downloading from a windows workstation using cupsaddsmb I get:

printerserver ~ # cupsaddsmb -a
cupsaddsmb: No PPD file for printer "HPpsc2400" - skipping!

I've been trying to find out where the cupsaddsmb is looking for the ppd file, I think it's where it's supposed to be

printerserver ~ # locate HPpsc2400.ppd
/etc/cups/ppd/HPpsc2400.ppd
/etc/samba/printer/HPpsc2400.ppd
/usr/share/cups/model/HPpsc2400.ppd
/usr/share/cups/drivers/HPpsc2400.ppd


Can anyone help?



my smb.conf:

[global]
restrict anonymous = 2
log file = /var/log/samba.log
workgroup = THUIS
security = user
interfaces = lo eth1
hosts allow = 127:.0.0.1 192.168.0.2/24
hosts deny = 0.0.0.0/0
printcap name = cups
printing = cups
load printers = yes

[print$]
comment = Printer Drivers
path = /etc/samba/printer
guest ok = no
browseable = yes
read only = yes
write list = root

[HPpsc2400]
comment = HP PSC 2400
printable = yes
path = /var/spool/samba
public = yes
guest ok = yes
printer admin = root

[Printers]
comment = All printers
browseable = no
printable = yes
writable = no
public = yes
guest ok = yes
path = /var/spool/samba
printer admin = root

[shared files]
case sensitive = no
path = /home/shared
browseable = yes
create mode = 0777
writeable = yes

[homes]
browseable = no
writeable = yes
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum