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 1968330

Summary: id lookup is failing intermittently
Product: Red Hat Enterprise Linux 7 Reporter: Abhijit Roy <abroy>
Component: sssdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: Dan Lavu <dlavu>
Severity: high Docs Contact:
Priority: medium    
Version: 7.9CC: atikhono, dlavu, ekeck, grajaiya, jhrozek, jreznik, lslebodn, mzidek, pbrezina, rakkumar, sbose, tscherf
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: Linux   
Whiteboard: sync-to-jira
Fixed In Version: sssd-1.16.5-10.el7_9.9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-31 09:11:28 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 Abhijit Roy 2021-06-07 07:32:42 UTC
Description of problem:

why id lookup does not iterate over all the domains. As per I know sssd first, try to connect to the AD GC and if the information is not present in AD_GC it will try to look for the user across all the domains by trying to connect to the individual server on port 389.

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

sssd-1.16.4-21.el7_7.1.x86_64

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:

id lookup works only if sssd is connected to the correct server at the first attempt else it will fail it won't iterate over all the domains.


Expected results:

If the information is not present in AD_GC sssd should get the details by looking up the user across all domain.

Additional info:

Related Bugzilla

https://bugzilla.redhat.com/show_bug.cgi?id=1695606. 

https://github.com/SSSD/sssd/issues/5351 the patch was added to RHEL-8 by a rebase so that there is no dedicated RHEL-8 ticket.

Comment 18 Alexey Tikhonov 2021-08-05 10:42:10 UTC
https://github.com/SSSD/sssd/pull/5732

Comment 19 Alexey Tikhonov 2021-08-09 10:11:09 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5732

* `sssd-1-16`
    * 7afd36a4c4b35d72742eec2d23bd6908e635c097 - AD: do not override LDAP data during GC lookups

Comment 26 errata-xmlrpc 2021-08-31 09:11:28 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 (Important: sssd security and bug fix 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-2021:3336

Comment 27 Alexey Tikhonov 2022-01-31 16:05:49 UTC
*** Bug 2025667 has been marked as a duplicate of this bug. ***

Comment 28 Alexey Tikhonov 2022-03-24 13:22:39 UTC
*** Bug 2025667 has been marked as a duplicate of this bug. ***