> From [EMAIL PROTECTED] Tue Jan 29 11:09:28 2002
> From: " Petrov M.I." <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: LPRng: lpd.perms questions.
> Date: Tue, 29 Jan 2002 20:13:17 +0200
>
> HI ALL.
> I am using LPRng 3.8.2-1 from Debian. I want to permit printing to server from
> some host and some users on this host and server. How do this do?
> I have following in my lpd.perms file:
> ACCEPT SERVICE=X SERVER
> ACCEPT SERVICE=X REMOTEIP=</etc/lprng/rejecthosts \
> REMOTEUSER=</etc/lprng/rejectusers
> REJECT SERVICE=X
> On one of remote computer : lpq
> `no connect permissions
> Without REMOTEUSER - this wokrs correctly.
> When I am using only REMOTEUSER - lpq
> `no connect permissions
> Help me!
> Thanks.
The 'X' (connection) permissions is checked before the user name
is known. So you need to put the user checks in another statement.
However, if the file contains a list of rejections, then I think
you want to do:
REJECT SERVICE=X REMOTEIP=</etc/lprng/rejecthosts
ACCEPT SERVICE=X
ACCEPT SERVER
REJECT SERVICE=RMQC REMOTEUSER=</etc/lprng/rejectusers
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.lprng.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.
-----------------------------------------------------------------------------