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 2056035 - 'getent hosts' not return hosts if they have more than one CN in LDAP
Summary: 'getent hosts' not return hosts if they have more than one CN in LDAP
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: sssd
Version: 8.5
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Anuj Borah
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-02-18 13:26 UTC by Daniel Filho
Modified: 2022-11-08 12:41 UTC (History)
9 users (show)

Fixed In Version: sssd-2.7.2-1.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-11-08 10:51:22 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 6122 0 None open 'getent hosts' not return hosts if they have more than one CN in LDAP 2022-04-26 07:48:51 UTC
Github SSSD sssd pull 6141 0 None open Tests: Add automation for bz 2056035 2022-05-06 06:42:06 UTC
Red Hat Issue Tracker RHELPLAN-112826 0 None None None 2022-02-18 13:26:56 UTC
Red Hat Issue Tracker SSSD-4356 0 None None None 2022-02-25 08:46:06 UTC
Red Hat Product Errata RHBA-2022:7739 0 None None None 2022-11-08 10:51:43 UTC

Comment 8 Alexey Tikhonov 2022-04-26 10:42:19 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/6123

Comment 9 Alexey Tikhonov 2022-05-12 12:25:01 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6123

* `master`
    * 952b9bd71762ce9abeae3f506a5f65601e1769f9 - sdap: add tests for sdap_get_primary_name
    * dd1f4902b8ba4e5a081a77c0faece9bfcdccb697 - sdap: removed unused dom parameter from sdap_get_primary_name()
    * bb4e93015c47ae76f6e4d240994f7af7c2525b2d - sdap: make sdap_get_primary_name() aware of multi-valued RDNs
    * e587572b4a3993a330cfe0dcbe57ed2790073713 - sdap: move sysdb_attrs_primary_name() into sdap_get_primary_name()
    * e88559fa88c1f5a4cea089bd3dc7e74d740324d1 - sdap: replace sysdb_attrs_primary_name() with sdap_get_primary_name()
    * 3af930e5bb9f46bf88ad579142fe01a422332224 - sdap: rename functions copied from sysdb
    * bd08543161d076c9c27f0827fc3746c052f20624 - sdap: move some functions from sysdb to sdap
* `sssd-2-7`
    * 26bbaf7f60490ab561fe70603eb79f44218f8283 - sdap: add tests for sdap_get_primary_name
    * 676b5dce198429964fc25e02fb83ae8d6434d1c2 - sdap: removed unused dom parameter from sdap_get_primary_name()
    * 19b452015ec6e2f88024aa9299ac2f6223956d13 - sdap: make sdap_get_primary_name() aware of multi-valued RDNs
    * c1531822467e4cb6af183e31ef88799af952063f - sdap: move sysdb_attrs_primary_name() into sdap_get_primary_name()
    * 10f86ad3c664e34c66974e6af152a6b21fcc1d0d - sdap: replace sysdb_attrs_primary_name() with sdap_get_primary_name()
    * 75a70ac9c4596567c9f7bdb2451cb8ebe3393e82 - sdap: rename functions copied from sysdb
    * 8547e69955d083f097e72198af1cb064554da770 - sdap: move some functions from sysdb to sdap

Comment 17 errata-xmlrpc 2022-11-08 10:51:22 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 (sssd 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/RHBA-2022:7739


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