On Mon, 23 Sep 2002, John Perkins wrote:

> This sounds like a problem with lpd.perms.
>
> I suspect this is what you're experiencing:
>
>       - lpr -Plp@localhost forces the connection over TCP/IP connection
>         on localhost address; originating IP is "localhost" and follows
>         localhost rules
>       - lpr -Plp uses a unix-domain socket; I'm not sure what originating
>         IP address is; this may require special permissions in lpd.perms


These are non-comment lines from my lpd.perms:

ACCEPT SERVICE=C SERVER REMOTEUSER=root
ACCEPT SERVICE=C LPC=lpd,status,printcap
REJECT SERVICE=C
ACCEPT SERVICE=M SAMEHOST SAMEUSER
ACCEPT SERVICE=M SERVER REMOTEUSER=root
REJECT SERVICE=M
DEFAULT ACCEPT

> I can't remember where Patrick injected the unix-domain socket
> code...it was one of the later LPRng releases (later than 3.8.10 or so).

But why should change the default behaviour? The lpr binary works fine,
with same config file ... (And I did not mention in the original post,
that lpd itself has problems to print - I administer the box remotely, but
users say sometimes they can proint, sometimes not. Reverting to old lpd
also of course solved their problems. Once more - with same config
files!).

-- 
Martin Mokrejs <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
PGP5.0i key is at http://www.natur.cuni.cz/~mmokrejs
MIPS / Institute for Bioinformatics <http://mips.gsf.de>
GSF - National Research Center for Environment and Health
Ingolstaedter Landstrasse 1, D-85764 Neuherberg, Germany
tel.: +49-89-3187 3683 , fax: +49-89-3187 3585


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