Samba printing permission problem

Robert-Jan Kuijvenhoven r.kuijvenhoven at
Wed Nov 22 14:40:35 GMT 2000


I am new to samba and I have just installed samba 2.0.7 on my linux box 
(debian - potato). I want to be able to use the linux box as a printer 
server for my win98 network.

File access from my win98 network to my linux box works fine. Printing from 
my linux box as root or as a normal user to the printer attached to my 
linux box works fine, but printing from the win98 network to the printer 
attached to my linux box does not work. I have set 'log level = 3' in 
smb.conf and /var/log/smb show the following problem:

Error opening file winbox.HsNe70 (Permission denied) (flags = 193)

I have the following smb.conf:

printing = lprng
printcap name = /etc/printcap
load printers = yes
guest account = nobody
invalid users = root
log level = 3
security = user
workgroup = WORKGROUP
server string = %h server (Samba %v)
syslog only = no
syslog = 0
encrypt passwords = yes
wins support = yes
name resolve order = lmhosts host wins bcast
dns proxy = no
preserve case = yes
short preserve case = yes
unix password sync = false

comment = Home Directories
browseable = no
read only = no
create mask = 0700
directory mask = 0700

comment = All Printers
browseable = no
path = /var/spool/lpd
printable = yes
public = yes
writable = no
create mode = 0700

My /etc/printcap file contains the following lines:

ascii|lp1|lbp8-a4-ascii-mono|lbp8 ascii mono:\
lp|lp2|lbp8-a4-auto-mono|lbp8 auto mono:\
raw|lp3|lbp8-a4-raw|lbp8 auto raw:\

I have tried to find a solution to this problem in the docs, faq's and 
archives, but so far I have not been able to find one. I hope someone on 
this list can help me find the answer to my problem.


Robert-Jan Kuijvenhoven

More information about the samba mailing list