Univention Bugzilla – Full Text Bug Listing |
Summary: | socket leak in pam handling | ||
---|---|---|---|
Product: | UCS | Reporter: | Felix Botner <botner> |
Component: | UMC (Generic) | Assignee: | Florian Best <best> |
Status: | CLOSED FIXED | QA Contact: | Felix Botner <botner> |
Severity: | normal | ||
Priority: | P5 | CC: | best |
Version: | UCS 4.4 | ||
Target Milestone: | UCS 4.4-4-errata | ||
Hardware: | Other | ||
OS: | Linux | ||
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?: | 3: Will affect average number of installed domains | How will those affected feel about the bug?: | 2: A Pain – users won’t like this once they notice it |
User Pain: | 0.137 | Enterprise Customer affected?: | |
School Customer affected?: | ISV affected?: | ||
Waiting Support: | Flags outvoted (downgraded) after PO Review: | ||
Ticket number: | Bug group (optional): | ||
Max CVSS v3 score: | |||
Bug Depends on: | |||
Bug Blocks: | 51047 | ||
Attachments: | repr1.sh |
Description
Felix Botner
2020-05-28 11:34:08 CEST
Created attachment 10373 [details]
repr1.sh
simple reproducer
The pam instance was potentially shared by multiple threads which could lead to race conditions using the same pam instance. That was bad - it could potentially also cause the wrong language to be used - and has been replaced with a local variable instead of a instance variable. The pam instance is then cleaned up in after the authentication was done. univention-management-console.yaml de92e672c7cf | YAML Bug #51366 univention-management-console (11.0.4-82) befaf1cb0dc0 | Bug #51366: fix leak of open ldap connections in PAM authentication TODO: yaml TODO: check jenkins tests OK - manual tests ok, repr1.sh can no longer reproduce the problem and i also couldn't reproduce the "restart UMC sever after logon" Traceback (comment #1) OK - yaml OK - jenkins Tests |