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: ---   
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. ***