Samba printing permission problem

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


Hello,

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:

[global]
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

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

[printers]
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=/dev/lp0:\
	:sd=/var/spool/lpd/lbp8-a4-ascii-mono:\
	:lf=/var/spool/lpd/lbp8-a4-ascii-mono/log:\
	:af=/var/spool/lpd/lbp8-a4-ascii-mono/acct:\
	:if=/var/lib/apsfilter/filter/aps-lbp8-a4-ascii-mono:\
	:mx#0:\
	:sh:
#
lp|lp2|lbp8-a4-auto-mono|lbp8 auto mono:\
	:lp=/dev/lp0:\
	:sd=/var/spool/lpd/lbp8-a4-auto-mono:\
	:lf=/var/spool/lpd/lbp8-a4-auto-mono/log:\
	:af=/var/spool/lpd/lbp8-a4-auto-mono/acct:\
	:if=/var/lib/apsfilter/filter/aps-lbp8-a4-auto-mono:\
	:mx#0:\
	:sh:
#
raw|lp3|lbp8-a4-raw|lbp8 auto raw:\
	:lp=/dev/lp0:\
	:sd=/var/spool/lpd/lbp8-a4-raw:\
	:lf=/var/spool/lpd/lbp8-a4-raw:\
	:af=/var/spool/lpd/lbp8-a4-raw:\
	:if=/var/lib/apsfilter/filter/aps-lbp8-a4-raw:\
	:mx#0:\
	:sh:

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.

Tia,

Robert-Jan Kuijvenhoven





More information about the samba mailing list