On Thu, Jan 13, 2000 at 08:36:54PM -0600, [EMAIL PROTECTED] wrote:
> I am trying to print from Windows to a printer connected to a Linux machine.

just installed Samba, and printing is no problem

> What I have discovered, is that unless the spool directory has permissions
 777, Windows cannot print to the Linux machine.
[sorry had to reformat your posting, the rest got lost;
 you really should wrap long lines:]

It seems strange that the modes get reset at bootup, can't help there.
But 777 seems a bit overdone, at my site it works with more restrictive
(though default) protections like:

$ ls -ld /var/spool/lpd
drwxrwsr-x   6 lp       lp           1024 Mar  6  1999 /var/spool/lpd
$ ls -ld /var/spool/lpd/dj-draft
drwxrwxr-x   2 root     lp           1024 Jan 14 03:49 /var/spool/lpd/dj-draft
$ ls -l /var/spool/lpd/dj-draft
total 3
-rw-------   1 lp       lp              0 Jan 14  1999 control.lp
-rw-------   1 lp       lp              5 Jan 14 03:48 lp
-rw-------   1 lp       lp             28 Jan 14 03:49 status.lp
-rw-------   1 lp       lp              5 Jan 14 03:48 unspooler.lp

I'm using LPRng, but in /etc/smb.conf I filled in bsd like:

;
; /etc/smb.conf

[global]
   printing = bsd
   printcap name = /etc/printcap
   load printers = yes
   guest account = nobody
   invalid users = root

mind the guest account here.

-- 
groetjes, carel

Reply via email to