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
below.
Thanks!
Michael BLinn
People Places, Inc.
[global]
load printers = yes
printcap name = /usr/local/etc/printcap
[Printdown]
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
Could you give it a perm of 1600? ----- Original Message ----- From: "Michael Blinn" <mblinn@peopleplaces.org> To: <samba@samba.org> Sent: Monday, March 12, 2001 2:05 PM Subject: LPRng and SAMBA> 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 > below. > Thanks! > Michael BLinn > People Places, Inc. > > [global] > load printers = yes > printcap name = /usr/local/etc/printcap > > [Printdown] > 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 > > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >
On Mon, Mar 12, 2001 at 03:05:13PM -0500, Michael Blinn wrote:> 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 > below. > Thanks! > Michael BLinn > People Places, Inc. > > [global] > load printers = yes > printcap name = /usr/local/etc/printcap > > [Printdown] > path = /var/spool/lpd/printdown > print ok = yes > printing = lprngIIRC, the path shouldn't be to the printer's spool directory with lprng. the lpr command actually takes the file specified and sends it through a network socket to the server, and that handles the spool dir.> 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 >I think you should change the path to /tmp, and leave out the specific lp commands.