I can't answer the authentication problem, but I have an answer for ^B. 
It's from RFC 1179.  To send a print request with lpr, you send lpd a byte 
with the value \002, followed by the name of the printer, followed by a 
line feed.

\002 corresponds to ^B, according the ASCII chart printed in O'Reilly's 
Unix in a Nutshell.  Finding an ASCII chart with the control codes, now 
that's a trick.

Phillip Griffith  (803) 952-8776
Information Technology Department
Westinghouse Savannah River Company




[EMAIL PROTECTED]
Sent by: [EMAIL PROTECTED]


02/06/2001 11:01 AM
Please respond to lprng

 
        To:     [EMAIL PROTECTED]
        cc: 
        Subject:        Re: LPRng: REJECT NOT SERVER/no connect permissions


On Tue, 6 Feb 2001, Craig Small wrote:

> > it lists db as one argument.  However, /lib/libnss_db.so...
> > does not exist on my machine!  According to the man
> > page, this shouldn't be true.  Does this mean a 
> > broken set of packages somewhere on Debian?  That
> > libnss_db should be required for LPRng?
> You can get it in the libnss-db package.  I don't have that file here
> either.

Short grumble on the nsswitch business.  I see mention of
nsswitch.conf many times in search engine responses having
various things calling "db".  But almost nowhere does anybody
say how those *db files nsswitch uses get created.  There is
no manpage for makedb, which is installed.  Somewhere, someone
should at least mention that the name of the program to create
those db files is makedb, and they might want to offer advice
as to when to run with db files and when not to.

> changed in lprng. You may want to read the Debian README and look at
> the bug pages at http://bugs.debian.org/lprng have a look at bug #82501

Okay, I had a gander at 82501 (all 20 pages of it).  What a dogs
breakfast of problems.  :-)

 I do not have a printcap with an empty lp= entry.

 I do not have any bounce statements (bounce_queue, bq or lpr_bounce).

 I am running 3.7.4 from 3.7.4-2 debs.

 I see no difference running as root or an ordinary user.

 Everything in /var/spool/lpd is owned daemon.lp  Permissions
 700 for the directories of /var/spool/lpd, and 600 for the files
 within those directories.

If I run lpr -Pprinter@host instead of just lpr, I get the
following:

 LINK_ACK_FAIL with ack ACK_STOP_Q sending str '^Blp' to ....
 error msg: 'no connect permissions'

One thing puzzles me in the above, why is that '^B' in the
name of the printer string?

Gord

Matter Realisations     http://www.materialisations.com/
Gordon Haverland, B.Sc. M.Eng. President
101  9504 182 St. NW    Edmonton, AB, CA  T5T 3A7
780/481-8019            ghaverla @ freenet.edmonton.ab.ca
780/993-1274 (cell)


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