Bug 1300740
| Summary: | [RFE] IPA: resolve external group memberships of IPA groups during getgrnam and getgrgid | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Jakub Hrozek <jhrozek> | |
| Component: | sssd | Assignee: | Jakub Hrozek <jhrozek> | |
| Status: | CLOSED ERRATA | QA Contact: | Steeve Goveas <sgoveas> | |
| Severity: | high | Docs Contact: | ||
| Priority: | high | |||
| Version: | 7.3 | CC: | ekeck, enewland, grajaiya, jhrozek, ksiddiqu, lslebodn, mkosek, mzidek, nsoman, orion, pbrezina, pvoborni, sumenon | |
| Target Milestone: | rc | Keywords: | FutureFeature, ZStream | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | sssd-1.13.0-42.el7 | Doc Type: | Enhancement | |
| Doc Text: |
Feature: In an IPA-AD trust setup, getpwnam and getgrnam calls for IPA groups that contain AD members via external groups used to only return members who were cached via an initgroups call. This patch adds the ability to resolve external members without the initgroups operation as well.
Reason: The slapi-nis plugin makes heavy use of this functionality when presenting the external group members to the compatibility tree which is then consumed by legacy clients. It's the only way to define sudo rules through an external group to legacy clients at the moment.
Result: calling "getent group" for an IPA group that contains a member from an Active Directory domain would return the AD members as well. Please note that "Domain Users" are a bit of a special case here and its members are not resolved. This is because Domain Users are a primary group for AD users, but do not contain its members as LDAP attributes.
|
Story Points: | --- | |
| Clone Of: | ||||
| : | 1310664 1311569 (view as bug list) | Environment: | ||
| Last Closed: | 2016-11-04 07:15:27 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: | 1310664, 1311569 | |||
|
Description
Jakub Hrozek
2016-01-21 15:30:37 UTC
Upstream patches:
master:
3cf7fdfcaedb986f42a6640e26aa057007b64045
e2d96566aeb881bd89e5c9236d663f6a9a88019a
c32266e79f9d4bebd0c31eaa8d6fa26050e7fb3e
sssd-1-13:
7db3bdfd6b1b845866c1ff062d25de5804141e89
00ee45423f0712b83926c6f8b354a1a18ff741c8
19194cb18a1cc20f02423861dd831aa5bc3a1003
Jakub, Can you please provide the steps to verify this bug? (In reply to Sudhir Menon from comment #5) > Jakub, > Can you please provide the steps to verify this bug? You already verified it's clone, https://bugzilla.redhat.com/show_bug.cgi?id=1311569#c6 so the same steps apply. Fix is seen. Verified using steps as mentioned in comment6 of bz1311569. ipa-server-4.4.0-7.el7.x86_64 sssd-1.14.0-18.el7.x86_64 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/RHEA-2016-2476.html |