> From [EMAIL PROTECTED] Sun Nov  5 20:44:06 2000
> To: [EMAIL PROTECTED]
> Subject: Re: LPRng: segfault, semantics changes?
> Date: Sun, 05 Nov 2000 22:36:37 -0500
> From: Garry Zacheiss <[EMAIL PROTECTED]>
>
> >> As far as I can tell, there have been no semantic changes... or even
> >> code changes...  ARAHHGGGHHH!  AARRRHAGGGH!!!  Sigh...
>
>    There's been at least one semantic change that has been bitten us.
> We originally had these lines in our lpd.perms:
>
> REJECT AUTHFROM=?* PRINTER=</var/spool/printer/queues.secure NOT 
>AUTHFROM=</var/spool/printer/hostkeys.allow
> REJECT AUTHFROM=?* AUTHJOB NOT AUTHFROM=</var/spool/printer/hostkeys.allow
>
>    The intent of them was to only allow our print servers (with host
> keys listed in hostkeys.allow) to forward jobs to other queues.  Under
> LPRng 3.6.1, AUTHFROM is set to the principal forwarding the job (in our
> case, daemon/printserver.mit.edu, for example) but is empty for jobs
> that have not been forwarded.
>
>    Under LPRng 3.6.13, this is no longer the case.  AUTHFROM is set to
> the authenticating principal for both forwarded and non-forwarded jobs.
> I've managed to work around this by adding the FORWARD keyword to each
> of the lines in question, but it seems like this change wasn't
> intentional, so I thought I'd mention it.
>
>    We'll test the patches you provided and see if they fix the problems
> we've been encountering.
>
> Garry Zacheiss
> Athena Server Operations

Yes, this actually was a mistake that was fixed.

'AUTHUSER' was supposed to be the 'end user'
'AUTHFROM' was supposed to be the 'sender' which could be a
   forwarder OR the 'end user'
'FORWARD'  was set when AUTHUSER != AUTHFROM

As you say,  you probably wanted

REJECT AUTHFROM=?* PRINTER=</var/spool/printer/queues.secure NOT 
AUTHFROM=</var/spool/printer/hostkeys.allow
REJECT AUTHFROM=?* FORWARD NOT AUTHFROM=</var/spool/printer/hostkeys.allow

Patrick Powell                 Astart Technologies,
[EMAIL PROTECTED]            9475 Chesapeake Drive, Suite D,
Network and System             San Diego, CA 92123
  Consulting                   858-874-6543 FAX 858-279-8424 
LPRng - Print Spooler (http://www.astart.com)

-----------------------------------------------------------------------------
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