Univention Bugzilla – Full Text Bug Listing |
Summary: | Control of print share access via printer and computerroom module is not working properly (Samba4) | ||
---|---|---|---|
Product: | UCS | Reporter: | Richard Ulmer <ulmer> |
Component: | Printserver | Assignee: | Ole Schwiegert <schwiegert> |
Status: | CLOSED FIXED | QA Contact: | Jürn Brodersen <brodersen> |
Severity: | normal | ||
Priority: | P5 | CC: | best, gohmann, michelsmidt, schwardt |
Version: | UCS 4.3 | Flags: | best:
Patch_Available+
|
Target Milestone: | UCS 4.3-2-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
See Also: | https://forge.univention.org/bugzilla/show_bug.cgi?id=35076 | ||
What kind of report is it?: | Bug Report | What type of bug is this?: | 4: Minor Usability: Impairs usability in secondary scenarios |
Who will be affected by this bug?: | 2: Will only affect a few installed domains | How will those affected feel about the bug?: | 3: A User would likely not purchase the product |
User Pain: | 0.137 | Enterprise Customer affected?: | |
School Customer affected?: | Yes | ISV affected?: | |
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 35076 | ||
Attachments: | patch |
Description
Richard Ulmer
2016-12-20 12:53:52 CET
Created attachment 8312 [details]
patch
The UCR configuration is not renewed when the listener changes some printers. The patch does this. I think it may be moved to the postrun() function?
There is a Customer ID set so I set the flag "School Customer affected". Please check if this issue is still reproducible and (if yes) if the attached patch still fixes the issue. If this is also the case, please apply the patch to UCS@school 4.3. The bug still exists more or less. Free printing is not available anymore in the computer room module, but the following behavior can be observed: Changing the ACLs in the printer module changes the corresponding ldap values accordingly. Though no config file for the printer is edited or created. When changing the printer mode in the computer room module a config file for the printer is created respecting also the options set in the printer umc module. Editing the ACLs now does not have any effect. Changing the printer modus of the computer room module back to global settings results in the config file being deleted. After applying the proposed patch the behavior is very much the same, with one exception: When the print mode in the computer room is set to deactivated (only other option available) the config is created/updated accordingly. But now changing the ACLs in the printer module also updates the config file. Setting printer mode to global again deletes the config file and changes in the printer module have no effect again. My previous comment can be ignored since it eluded me that there are actually two configuration files and I misinterpreted the problem. Yes the problem is reproducible, even if it has not much effect (the only option in the computer room module is disable printing or global options anyway since the free for all was removed). The patch solves the issue and will be applied to prevent future problems should we extend the available options again. Package: univention-printserver Version: 11.0.1-1A~4.3.0.201809281124 The changes are done in ucs not ucsschool. Is that correct? What I tested: share_restrictions.py is now called by the listener module -> OK |