Bug 7588 - Non-existant printers are added by our printer access control
Summary: Non-existant printers are added by our printer access control
Status: CLOSED DUPLICATE of bug 5930
Alias: None
Product: ThinLinc
Classification: Unclassified
Component: Printing (show other bugs)
Version: trunk
Hardware: PC Unknown
: P2 Normal
Target Milestone: 4.13.0
Assignee: Samuel Mannehed
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-11-10 11:15 CET by Samuel Mannehed
Modified: 2020-11-10 14:15 CET (History)
0 users

See Also:
Acceptance Criteria:


Attachments

Description Samuel Mannehed cendio 2020-11-10 11:15:40 CET
If a printer is specified for a terminal or location, but doesn't actually exist (i.e. isn't found by 'lpstat') it will be added by our tl-limit-printers script.

The problem is a logical error in the code that keeps such printers in a list, and then calls the following command on that printer:

> lpadmin -p <PRINTER> -u allow: <ALLOWED_USERS>
Comment 1 Samuel Mannehed cendio 2020-11-10 12:55:21 CET

*** This bug has been marked as a duplicate of bug 5930 ***

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