> From [EMAIL PROTECTED] Sat Mar 13 14:35:48 2004
> Date: Sat, 13 Mar 2004 22:48:37 +0100 (CET)
> From: Longina Przybyszewska <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: lpd.perms problem
>
> On Fri, 12 Mar 2004, Patrick Powell wrote:
> My changes don't work - users listed in /etc/lpd/ok file cannot remove
> jobs from the server
>
> > On Fri, Mar 12, 2004 at 02:21:24PM +0100, Longina Przybyszewska wrote:
> > > hi,
> > > can anyone tell me why the following setting in lpd.perms doesn't work?
> > > It is LPRng-3.8.21.
> > > The server controls 2 printers, for one of them I would like to allow
> > > other persons than root to remove jobs fra queue.
> > > My changes don't work (the rest  is default). WHat is wrong?
> > > ====
> > >
> > > # allow same user on originating host to remove a job
> > > ACCEPT SERVICE=M SAMEHOST SAMEUSER
> > > # allow root (and persons listed in /etc/lpd/ok)on server to remove jobs
> > > #       from printer d3
> > > ACCEPT SERVICE=M SERVER PRINTER=d3 REMOTEUSER=root,</etc/lpd/ok
> > >
> > > ACCEPT SERVICE=M SERVER REMOTEUSER=root
> > > REJECT SERVICE=M
> > > # all other operations allowed
> > > DEFAULT ACCEPT
> > > ====

OK, try the following:

d3:db=lprm+2,database+2:...     # enable LPRM debugging

Now do:

lpc reread
lpc -Pd3 stop
lpr -Pd3
lprm -Pd3

Now look in /var/spool/lpd/d3/log
and look for lines with /etc/lpd/ok in them.  Error or failure
should be clear from this.

Patrick

-----------------------------------------------------------------------------
YOU MUST BE A LIST MEMBER IN ORDER TO POST TO THE LPRNG MAILING LIST
The address you post from MUST be your subscription address

If you need help, send email to [EMAIL PROTECTED] (or lprng-requests
or lprng-digest-requests) with the word 'help' in the body.  For the impatient,
to subscribe to a list with name LIST,  send mail to [EMAIL PROTECTED]
with:                           | example:
subscribe LIST <mailaddr>       |  subscribe lprng-digest [EMAIL PROTECTED]
unsubscribe LIST <mailaddr>     |  unsubscribe lprng [EMAIL PROTECTED]

If you have major problems,  send email to [EMAIL PROTECTED] with the word
LPRNGLIST in the SUBJECT line.
-----------------------------------------------------------------------------

Reply via email to