Bug 2065098

Summary: Use right sdap_domain in ad_domain_info_send
Product: Red Hat Enterprise Linux 9 Reporter: Sumit Bose <sbose>
Component: sssdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: Dan Lavu <dlavu>
Severity: high Docs Contact:
Priority: unspecified    
Version: 9.0CC: aboscatt, atikhono, bthekkep, ccallaha, dlavu, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sgadekar, tscherf, vvanhaft
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: sssd-2.7.0-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2072959 (view as bug list) Environment:
Last Closed: 2022-11-15 11:17:22 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:
Bug Depends On:    
Bug Blocks: 2072959    

Description Sumit Bose 2022-03-17 11:06:09 UTC
Description of problem:
If a client is joined to a domain in an AD forest which

 - is not the forest root
 - has no domain object of the forest root in the LDAP tree
 - has other domains from the local forest in the LDAP tree

it might be possible that the lookup for other domains in the forest on an LDAP server from the forest root will fail because a wrong search path will be used.

Comment 2 Alexey Tikhonov 2022-03-17 12:00:58 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/6064

Comment 3 Alexey Tikhonov 2022-03-25 10:42:36 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6064

* `master`
    * 51e92297157562511baf8902777f02a4aa2e70e6 - ad: use right sdap_domain in ad_domain_info_send
* `sssd-1-16`
    * 2b84dddf8c3d3b30bb1919205b4eb53e1ba31714 - ad: use right sdap_domain in ad_domain_info_send

Comment 16 errata-xmlrpc 2022-11-15 11:17: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:8325