Michael Blinn mblinn at peopleplaces.org
Mon Mar 12 20:05:13 GMT 2001

  First of all, thanks to everyone who has helped me out so far resolving
my samba problems!

  The latest has to do with LPRng and directory permissions. LPRng
requires 0600 permissions on the spool directory, owner daemon group
daemon. Whenever a user tries to print through SAMBA, they do not have
write access to the spool directory, as teh job comes in user/group of
the person who printed. Any ideas? The relevant entries in smb.conf are
  Michael BLinn
  People Places, Inc.

        load printers = yes
        printcap name = /usr/local/etc/printcap

        path = /var/spool/lpd/printdown
        print ok = yes
        printing = lprng
        guest ok = no
        print command =      /usr/local/bin/lpr  -P%p -r %s
        lpq command   =      /usr/local/bin/lpq  -P%p
        lprm command  =      /usr/local/bin/lprm -P%p %j
        lppause command =    /usr/local/sbin/lpc hold %p %j
        lpresume command =   /usr/local/sbin/lpc release %p %j
        queuepause command = /usr/local/sbin/lpc  -P%p stop
        queueresume command = /usr/local/sbin/lpc -P%p start

More information about the samba mailing list