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 1408439 - ipa idoverrideuser-find view --anchor fails to return output
Summary: ipa idoverrideuser-find view --anchor fails to return output
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: ipa
Version: 7.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: IPA Maintainers
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks: 1657745
TreeView+ depends on / blocked
 
Reported: 2016-12-23 12:06 UTC by Sudhir Menon
Modified: 2019-08-06 13:09 UTC (History)
10 users (show)

Fixed In Version: ipa-4.6.5-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1657745 (view as bug list)
Environment:
Last Closed: 2019-08-06 13:09:02 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2019:2241 0 None None None 2019-08-06 13:09:26 UTC

Description Sudhir Menon 2016-12-23 12:06:21 UTC
Description of problem: ipa idoverrideuser-find view --anchor


Version-Release number of selected component (if applicable):
ipa-server-4.4.0-14.el7_3.3.x86_64

How reproducible: Always

Steps to Reproduce:
1. Install IPA server and establish trust with AD
2. Now create a view and then add AD trusted users to the view
3. Now run idoverrideuser-find using --anchor option

Actual results:

[root@master samba]# ipa idoverrideuser-find
ID View Name: view
---------------------------
2 User ID overrides matched
---------------------------
  Anchor to override: idviewuser18
 
  Anchor to override: idviewuser1
----------------------------
Number of entries returned 2
----------------------------

[root@master samba]# ipa idoverrideuser-find view --anchor='idviewuser18';
---------------------------
0 User ID overrides matched
---------------------------
----------------------------
Number of entries returned 0
----------------------------

[root@master samba]# ipa idoverrideuser-find view --anchor='idviewuser18';
---------------------------
0 User ID overrides matched
---------------------------
----------------------------
Number of entries returned 0


Expected results: Should return the output if the anchor matches.

Additional info:

Comment 2 Petr Vobornik 2017-01-06 17:40:02 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/6594

Comment 11 Sergey Orlov 2019-06-05 14:32:58 UTC
Verified for nightly build of RHEL 7.7 using tests in ipatests/test_integration/test_idviews.py

$ rpm -q ipa-server
ipa-server-4.6.5-9.el7.x86_64

Test results:
======================================================================================== test session starts ========================================================================================
platform linux2 -- Python 2.7.5, pytest-3.2.3, py-1.4.34, pluggy-0.4.0 -- /usr/bin/python2
cachedir: .cache
rootdir: /usr/lib/python2.7/site-packages/ipatests, inifile:
plugins: multihost-1.1, sourceorder-0.5
collected 9 items                                                                                                                                                                                    

test_integration/test_idviews.py::TestCertsInIDOverrides::test_certs_in_idoverrides_ad_users SKIPPED
test_integration/test_idviews.py::TestCertsInIDOverrides::test_dbus_user_lookup SKIPPED
test_integration/test_idviews.py::TestRulesWithServicePrincipals::test_rules_with_service_principals PASSED
test_integration/test_idviews.py::TestIDViews::test_useroverride PASSED
test_integration/test_idviews.py::TestIDViews::test_useroverride_original_uid PASSED
test_integration/test_idviews.py::TestIDViews::test_anchor_username PASSED
test_integration/test_idviews.py::TestIDViews::test_groupoverride PASSED
test_integration/test_idviews.py::TestIDViews::test_groupoverride_system_objects PASSED
test_integration/test_idviews.py::TestIDViews::test_anchor_groupname PASSED

=============================================================================== 7 passed, 2 skipped in 732.32 seconds ===============================================================================

Comment 14 errata-xmlrpc 2019-08-06 13:09:02 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, 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/RHBA-2019:2241


Note You need to log in before you can comment on or make changes to this bug.