Bug 1254190

Summary: Allow AD groups to be used in IdM RBAC
Product: Red Hat Enterprise Linux 8 Reporter: Matt Smith <mjs>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED NEXTRELEASE QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: abokovoy, dpal, pasik, pvoborni, rcritten, tscherf
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-26 07:36:34 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 Matt Smith 2015-08-17 11:54:15 UTC
Description of problem:
IdM does not accept AD groups to be assigned roles with IdM for RBAC purposes.  E.g., an organization's IT Help Desk is represented in Active Directory via a group 'Help Desk'; this groups should be mapped to the role 'helpdesk' in IdM, allowing them to perform basic IT actions such as reseting passwords.

Version-Release number of selected component (if applicable):
All

How reproducible:
Always

Steps to Reproduce:
1. In "Role Based Access Control" screen of IdM, select a role such as 'helpdesk'
2. Assign an External Group, mapped to AD
3. Log out, attempt to login as AD user in that member group.

Actual results:
*  Login will fail, so it is not possible to perform actions via Web GUI.
* Similar failure with CLI, with a SASL error.

Expected results:
AD user shuold be allowed to log in, and perform the privileges assigned via RBAC

Additional info:

Comment 2 Petr Vobornik 2015-08-17 15:34:55 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/5230

Comment 3 Petr Vobornik 2017-04-06 16:22:50 UTC
IdM team doesn't have capacity to fix this bug for RHEL 7.4. Moving to next RHEL version. Fixing the bug there will depend on capacity of FreeIPA upstream. Without sufficient  justification there is a chance that it will be moved again later.

Comment 7 Alexander Bokovoy 2019-03-26 07:36:34 UTC
Note that in RHEL 8 beta the functionality requested by this bug is supported as a tech preview, though with a bit different workflow, leading to the same results.

Basic configuration is described in RHEL 8 beta documenation:
https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8-beta/html/installing_identity_management_and_access_control/enabling-ad-user-to-administer-idm-fin-fin

After performing the steps described at the section above, one can log into Web UI and be subject to RBAC permissions when performing management operations.