printing error

Joel Hammer
Mon, 26 Nov 2001 11:53:15 -0000

Just so you know. I have the same problem. I can lprm the jobs.
lpc is suid, like lprm.
I am right now reading man lpc. There are files which control who can access
the printer queue in there. I'll race you to the answer.
Joel
On Mon, Nov 26, 2001 at 12:48:41PM -0600, Tony Ricker
wrote:
> All,
> 	I have the following in my smb.comf for printing commands...
>
> # NOTE: If you have a BSD-style print system there is no need to
> # specifically define each individual printer
> [printers]
>    comment = All Printers
>    path = /var/spool/samba
>    browseable = no
>    print ok = yes
>    print command = /usr/bin/lpr -P%p -r %s
>    lpq command = /usr/bin/lpq -P%p
>    lprm command = /usr/bin/lprm -P%p %j
>    lppause command = /usr/sbin/lpc hold %p %j
>    lpresume command = /usr/sbin/lpc release %p %j
>    queuepause command = /usr/sbin/lpc -P%p stop
>    queueresume command = /usr/sbin/lpc -P%p start
>
> I got this from a tech guy from Red Hat. When I try to pause a print
> job, it says "You do not have sufficient privaliges to modify this
job."
> I did a chmod 777 on /usr/bin and /usr/sbin to no avail. Red Hat support
> (oxymoron) says that they have no idea as to what would be causing this
> (windoze or linux). Any ideas?  Has anyone ran into this? System config
> is Red Hat 7.1 with samba 2.2.2
>
> Cheers,
>
> Tony
> -------------------------------
> Tony Ricker
> Technology Coordinator
> SLUCare - P.M.O.
> St. Louis University
> Phone:  314.977.6844
> E-mail: rickera2@slu.edu
> -------------------------------
> "In the beginners mind, there
> are many possibilities. In the
> experts mind, there are few"
> - Shunryu Suzuki
> -------------------------------
> "Think Different"
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba