[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

acces denied printing from win client to a printer on linux using samba



I've a epson printer installed on a linux machine which shares it using samba. Printing locally with lpr works, but it doesn't work from a win client. When clicking on the printer I get the message
 
access denied, coulden't establish connection
 
my smb.conf:
 
[global]
 passwd program = /usr/bin/passwd %u
 auto services = homes
 dns proxy = no
 encrypt passwords = yes
 socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=4096 SO_RCVBUF=4096
 invalid users = root
 max log size = 1000
 obey pam restrictions = yes
 passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n
 workgroup = xacal
 server string = %h server (Samba %v)
 syslog = 0
 log file = /var/log/samba/log.%m
 load printers = yes
 os level = 20
 printcap = cups
 load printers = yes
 printcap name = lpstat
 printing = cups
 
[homes]
 
[recursos]
 path = /mnt/recursos
 create mode = 664
 writeable = yes
 directory mode = 775
 force group = xacal
 comment = Recursos compartits
 wide links = no
 force user = xacal
 
[www]
 path = /var/www
 writeable = yes
 create mode = 664
 directory mode = 775
 force group = xacal
 comment = webs a iskra
 force user = xacal
 

[epson]
 path = /var/spool/samba
 writable = no
 create mode = 0700
 lprm command = cancel %p-%j
 lpq command = lpstat -o %p
 comment = epson a iskra
 guest ok = yes
 print command = lpr -P %p -o raw %s -r
 printable = yes

Reply to: