[Samba] access denied on printing from win2k?

Remco van Essen lijst at scoutline.com
Thu Feb 28 01:43:45 GMT 2002


Hi,

I'm running samba 2.2.1a (RPM install) on RedHat 7.2
I've connected a Canon LBP-8 IV laserprinter to the network via a HP
Jetdirect box.
I've configured the printer within linux and printing goes fine.

Now I'm trying to access the printer via samba from my win2k clients. Now,
the problem is: When I'm trying to print to the printer (e.g. a testpage) I
get the message "Test page failed to print. <SNIP> Unable to create a print
job."
Also, it takes a while before the printer gets initialized.

I guess this snippet from the log has something to do with it:

"
[2002/02/22 15:06:15, 0] printing/printing.c:print_job_start(926)
  print_job_start: insufficient permissions to open spool file
/var/spool/lpd/printer01/smbprn.s9gmRw.
"

This is (part of) my smb.conf

[printers]
   comment = All Printers
   path = /var/spool/samba
   browseable = no
   printable = yes
   public = yes
   writable = no
   create mode = 0700
   guest ok = yes
[printer01]
   path = /var/spool/lpd/printer01
   printer name = printer01
   writable = yes
   public = yes
   printable = yes
   guest ok = yes


I guess I need to set the correct permissions, but I don't know how (and to
what?).
Can anybody help?

Best Regard,

Remco





More information about the samba mailing list