Bug 1130017
| Summary: | Saving group membership fails if provider is AD, POSIX attributes are used and primary group contains the user as a member | ||
|---|---|---|---|
| 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: | dpal, grajaiya, jgalipea, lslebodn, mkosek, nkarandi, pbrezina, preichl, tlavigne |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | sssd-1.11.6-26.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 04:49:31 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jakub Hrozek
2014-08-14 07:55:33 UTC
Upstream ticket: https://fedorahosted.org/sssd/ticket/2406 Here is a test build: http://brewweb.devel.redhat.com/brew/taskinfo?taskID=7863299 It would be nice if niru or Kaushik could confirm the fix helps. Before Fix : sssd-1.11.6-14.el6.x86_64 uid=70001(aduser1) gid=70001(adgrp01) groups=70001(adgrp01),10000(domain users),70002(adgrp02),70003(adgrp03),70004(adgrp04) :: [ PASS ] :: Running 'id aduser1' (Expected 0, got 0) adgrp01:*:70001: :: [ FAIL ] :: Running 'getent group adgrp01 | grep aduser1' (Expected 0, got 1) adgrp02:*:70002:aduser1 :: [ PASS ] :: Running 'getent group adgrp02' (Expected 0, got 0) After applying fix : sssd-1.11.6-23.1.el6.x86_64 uid=70001(aduser1) gid=70001(adgrp01) groups=70001(adgrp01),10000(domain users),70002(adgrp02),70003(adgrp03),70004(adgrp04) :: [ PASS ] :: Running 'id aduser1' (Expected 0, got 0) adgrp01:*:70001:aduser1 :: [ PASS ] :: Running 'getent group adgrp01 | grep aduser1' (Expected 0, got 0) adgrp02:*:70002:aduser1 :: [ PASS ] :: Running 'getent group adgrp02' (Expected 0, got 0) Thank you very much for testing, Niru! I will produce an official build once the patches are merged upstream. Fixed upstream:
master:
5e195ddf368b705f674ece2faf64261f66e20c23
bb755dcacd126adad8c60e8cbea11566de67affe
sssd-1-11:
25ff0ec25c40c967e4df7a2b2b3e8ad930218cb5
2d1e4d2bb90c40dd16c68b71c69c9e46f428a3f6
Verified with sssd-1.11.6-28.el6 Output from beaker automation run: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: bug_automation_004: BZ 1130017 ad group membership is empty when id mapping is off :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Command 'id aduser1 | grep adgrp01 | grep adgrp02 | grep adgrp03' (Expected 0, got 0) :: [ PASS ] :: Command 'getent group adgrp01 | grep aduser1' (Expected 0, got 0) :: [ LOG ] :: Duration: 22s :: [ LOG ] :: Assertions: 2 good, 0 bad :: [ PASS ] :: RESULT: bug_automation_004: BZ 1122158 and 1130017 ad group membership is empty when id mapping is off 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. http://rhn.redhat.com/errata/RHBA-2014-1375.html |