> From [EMAIL PROTECTED] Sun Aug 25 11:19:47 2002
> Subject: Re: LPRng: error message
> From: Louis Garcia <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Date: 25 Aug 2002 13:16:58 -0400
>
> This is what I have in /etc/lpd.perms:
>
> -------------------
> # reject connections from hosts not on my subnet
> REJECT SERVICE=X NOT
> REMOTEIP=192.168.1.0/255.255.255.224,127.0.0.1/255.255.255.224

^^^^ I think you want:
 ACCEPT SERVICE=X REMOTEIP=192.168.1.0/255.255.255.224,127.0.0.0/255.0.0.0
 REJECT SERVICE=X

>
> # do not allow forwarded jobs or requests
> REJECT SERVICE=R,C,M FORWARD
>
> # allow root on server to control jobs
> ACCEPT SERVICE=C SERVER REMOTEUSER=root
>
> # allow anybody to get server, status, and printcap
> ACCEPT SERVICE=C LPC=lpd,status,printcap
> # reject all others
> REJECT SERVICE=C
>
> # allow same user on originating host to remove a job
> ACCEPT SERVICE=M SAMEHOST SAMEUSER
>
> # allow root on server to remove a job
> ACCEPT SERVICE=M SERVER REMOTEUSER=root
> REJECT SERVICE=M
>
> # all other operations allowed
> DEFAULT ACCEPT
>
> ---------
>
> I'm on a private networks and I allow anyone on that network to print
> Is their a diagnostic test I can do?
>
> --Lou
>
>
> On Sat, 2002-08-24 at 02:00, Ryan Novosielski wrote:
> > Check your lpd.perms file in $PREFIX/etc. It seems as if you are not
> > giving the user who is attempting to print the appropriate permissions. I
> > have seen this message before and I believe that is the only way to cause
> > it to appear.
> > 
> > HTH,
> > 
> > ---- _  _ _  _ ___  _  _  _
> > |Y#| |  | |\/| |  \ |\ |  |  | Ryan Novosielski - Jr. UNIX Systems Admin
> > |$&| |__| |  | |__/ | \| _|  | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
> > \__/ Univ. of Med. and Dent. | IST/ACS - New Jersey Medical School - C630
> > 
> > On 22 Aug 2002, Louis Garcia wrote:
> > 
> > > I'm having trouble with LPRng-3.8.9 on RH6.2. I have an HP Business 2250
> > > I've set it up as a raw printer. When I print from another box like
> > > RH7.3 also running LPRng the printer is quiet.
> > >
> > > >From the server:
> > > #lpq
> > > Printer: [EMAIL PROTECTED]
> > >  Queue: no printable jobs in queue
> > >  Status: hp2250: Check_for_missing files: hp2250: no permission to print
> > > at 16:56:36.408
> > >
> > > here is the printcap
> > >
> > > hp2250:\
> > >   :sh:\
> > >   :ml#0:\
> > >   :mx#0:\
> > >   :sd=/var/spool/lpd/hp2250:\
> > >   :lp=/dev/lp0:
> > >
> > > #ls -l /dev/lp0
> > > crw-rw----   1 lp    lp      6,    0 May 5 1998 /dev/lp0
> > >
> > > #ls -l /var/spool/lpd
> > > drwx------   2 lp    lp         1024 Aug 22 17:33 hp2250
> > >
> > > Needing help, --Lou
> > >
> > >
> > > -----------------------------------------------------------------------------
> > > 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.
> > > -----------------------------------------------------------------------------
> > >
> > 
> > 
> > -----------------------------------------------------------------------------
> > 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.
> > -----------------------------------------------------------------------------
>
>
>
> -----------------------------------------------------------------------------
> 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.
> -----------------------------------------------------------------------------
>

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