Bug 1200093
| Summary: | sssd_nss segfaults if initgroups request is by UPN and doesn't find anything | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jakub Hrozek <jhrozek> | |
| Component: | sssd | Assignee: | Jakub Hrozek <jhrozek> | |
| Status: | CLOSED ERRATA | QA Contact: | Kaushik Banerjee <kbanerje> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 6.6 | CC: | apeetham, grajaiya, jgalipea, jhrozek, lslebodn, mkosek, mzidek, pbrezina, preichl | |
| Target Milestone: | rc | |||
| Target Release: | --- | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | sssd-1.12.4-15.el6 | Doc Type: | Bug Fix | |
| Doc Text: |
Do not document.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1201271 (view as bug list) | Environment: | ||
| Last Closed: | 2015-07-22 06:43:21 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1201271 | |||
|
Description
Jakub Hrozek
2015-03-09 16:53:02 UTC
Fixed upstream:
master:
aa648535f445e7a95bf6dedc7c43bb5f94ab7354
ff19b24a93a50c8a62b5c2621e45d101e3a00781
84a4c4fcc93b3dcc70604817a05f7943606ff596
9cc2223e0bc0478c1b47a47fd71bba7e7129492d
sssd-1-12:
d8006abd55f2ce0698e09213b8374e9071e70016 (only the fix without unit tests)
Please add steps to reproduce and verify this issue Compile the program in comment 1 and pass a UPN that doesn't exist as an argument. That should do the trick and SSSD should crash with unpatched packages and return an error gracefully with patched packages. Verified the bug on SSSD Version : sssd-1.12.4-40.el6.x86_64 Steps followed during verification: 1. Compile the program mentioned in comment #1 2. Setup SSSD client against AD Server. 3. Execute the program against a non-existing UPN. 4. With the latest build, process sssd_nss shouldn't crash. Log from /var/log/sssd/sssd_nss.log : [sssd[nss]] [sss_ncache_set_str] (0x0400): Adding [NCE/USER/AD2/non-existing-user] to negative cache [sssd[nss]] [nss_cmd_initgroups_search] (0x0040): No results for initgroups call [sssd[nss]] [sss_dp_req_destructor] (0x0400): Deleting request: [0x41c250:3:non-existing-user@AD2] Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-1448.html |