Bug 3217 - bug in "RS" capability in lpd
bug in "RS" capability in lpd
Product: Red Hat Linux
Classification: Retired
Component: lpr (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: David Lawrence
Depends On:
  Show dependency treegraph
Reported: 1999-06-02 15:28 EDT by mcintosh
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-06-02 18:58:16 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description mcintosh 1999-06-02 15:28:20 EDT
Attempts to print to printers with the "rs" capability
turned on result in a cryptic error message that the job
could not be printed, with no explanation as to why.

The cause is a bug in printit() in lpd/printjob.c.  If the
"rs" capability is turned on, the code exits case 'P' in
pass 1 without ever setting euser[] to something reasonable.
This confuses later code that thinks it has been set.

I will post a fix once a bug number has been assigned.

------- Email Received From  Allen Mcintosh <mcintosh@research.telcordia.com> 06/02/99 15:58 -------
Comment 1 Jeff Johnson 1999-06-02 18:58:59 EDT
Fixed (by applying patch) in lpr-0.36-4. Thanks for the patch.

Note You need to log in before you can comment on or make changes to this bug.