Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1404770

Summary: ID Views: do not allow custom Views for the masters
Product: Red Hat Enterprise Linux 7 Reporter: Thorsten Scherf <tscherf>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED ERRATA QA Contact: Kaleem <ksiddiqu>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.3CC: apetrova, cheimes, frenaud, mkosek, pasik, pcech, pvoborni, rcritten, sorlov, ssidhaye
Target Milestone: rcKeywords: TestCaseProvided
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ipa-4.6.6-12.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1405014 (view as bug list) Environment:
Last Closed: 2020-09-29 19:58:29 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: 1405014    

Description Thorsten Scherf 2016-12-14 15:31:21 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/5662

The FreeIPA server itself only supports the default ID View, it does not work with customized views for host groups.

The Web UI/CLI should be extended with a validation, to forbid adding FreeIPA servers to the unsupported views. The validator would avoid user confusion when the custom ID View is not working.

Comment 1 Martin Kosek 2016-12-15 11:19:41 UTC
Could we solve this also by admonition to
https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Linux_Domain_Identity_Authentication_and_Policy_Guide/id-views-different.html
and mentioned that ID View cannot be applied to IPA servers? I am not sure it is mentioned somewhere.

Comment 2 Aneta Šteflová Petrová 2016-12-15 11:54:07 UTC
(In reply to Martin Kosek from comment #1)
> Could we solve this also by admonition to
> https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/
> html/Linux_Domain_Identity_Authentication_and_Policy_Guide/id-views-
> different.html
> and mentioned that ID View cannot be applied to IPA servers? I am not sure
> it is mentioned somewhere.

Sure, I cloned this BZ to create doc BZ#1405014.

Comment 8 Florence Blanc-Renaud 2020-03-19 11:49:34 UTC
Test case provided in ipatests/test_integration/test_idviews.py, hence adding TestCaseProvided keyword.

Comment 12 Sergey Orlov 2020-04-17 10:58:51 UTC
Fix verified on RHEL7.9 with compose RHEL-7.9-20200407.0

ipa-server-4.6.8-1.el7.x86_64

Using upstream automated test:
test_xmlrpc/test_idviews_plugin.py::test_idviews::test_command[0042: idview_apply: Apply idview1 to master.testrelm.test] PASSED [ 49%]
test_xmlrpc/test_idviews_plugin.py::test_idviews::test_command[0043: idview_apply: Apply idview1 to ipaservers] PASSED [ 49%]

Comment 14 errata-xmlrpc 2020-09-29 19:58:29 UTC
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 (Moderate: ipa security, bug fix, and enhancement update), 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://access.redhat.com/errata/RHSA-2020:3936