Bug 3217

Summary: bug in "RS" capability in lpd
Product: [Retired] Red Hat Linux Reporter: mcintosh
Component: lprAssignee: David Lawrence <dkl>
Status: CLOSED NEXTRELEASE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 6.0CC: mcintosh
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-06-02 22:58:16 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mcintosh 1999-06-02 19:28:20 UTC
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.com> 06/02/99 15:58 -------

Comment 1 Jeff Johnson 1999-06-02 22:58:59 UTC
Fixed (by applying patch) in lpr-0.36-4. Thanks for the patch.