Bug 1161741
| Summary: | TokenGroups for LDAP provider breaks in corner cases | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jakub Hrozek <jhrozek> |
| Component: | sssd | Assignee: | SSSD Maintainers <sssd-maint> |
| Status: | CLOSED ERRATA | QA Contact: | Kaushik Banerjee <kbanerje> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 7.1 | CC: | bhkwan, chad, grajaiya, jgalipea, jhrozek, kbanerje, lslebodn, mkosek, pbrezina, preichl |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | sssd-1.12.2-16.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: SSSD in rhel-6.6 enabled the tokenGroups performance enhancement for all setups. The tokenGroups attribute contains all the groups the user is a member of, as if the client was a windows machine.
Consequence: Unless the SSSD client uses id_provider=ad, some of the group SIDs returned from the tokenGroups attribute might be impossible to map, resulting in failures during the initgroups operation. A user-visible result was that not all groups were displayed in the "id" output and the user might be denied access to the system or to some files based on group membership.
Fix: The tokenGroups support was disabled unless the id_provider is set to "ad".
Result: The group membership of users is reported correctly, allowing access to the system and to the files.
|
Story Points: | --- |
| Clone Of: | 1160713 | Environment: | |
| Last Closed: | 2015-03-05 10:34:07 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: | 1160713 | ||
| Bug Blocks: | |||
|
Description
Jakub Hrozek
2014-11-07 18:23:40 UTC
* master: 5febf5ed0cfb4ba7665d8c3e36ee6941988da773 * sssd-1-11: 6037341d6d77dc61b11d3d23944c615a96713353 Please let me know if RHEL-7 test builds are needed, I can build those on-demand. For RHEL-6 test builds, see https://bugzilla.redhat.com/show_bug.cgi?id=1160713#c5 Verified in version sssd-1.12.2-28.el7 Snippet of output from beaker automation run: :: [ PASS ] :: Command 'id lkuser01-817348 | grep lkgroup01-817348 | grep lkgroup011-817348' (Expected 0, got 0) :: [ PASS ] :: Command 'id -g lkuser01-817348 | grep 10817348' (Expected 0, got 0) :: [ PASS ] :: Command 'su_success lkuser01-817348 Secret123' (Expected 0, got 0) 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-0441.html |