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 2000476 - disabled root ad domain causes subdomains to be marked offline
Summary: disabled root ad domain causes subdomains to be marked offline
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: sssd
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Dan Lavu
URL:
Whiteboard: sync-to-jira
Depends On: 2011224
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-02 08:45 UTC by Alexey Tikhonov
Modified: 2022-05-17 16:34 UTC (History)
8 users (show)

Fixed In Version: sssd-2.6.1-1.el9
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-17 16:00:30 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 5770 0 None None None 2021-09-02 10:30:29 UTC
Red Hat Issue Tracker RHELPLAN-95965 0 None None None 2021-09-02 08:46:05 UTC
Red Hat Issue Tracker SSSD-3796 0 None None None 2021-10-06 10:08:41 UTC
Red Hat Product Errata RHBA-2022:4015 0 None None None 2022-05-17 16:01:08 UTC

Description Alexey Tikhonov 2021-09-02 08:45:03 UTC
This bug was initially created as a copy of Bug #2000238

I am copying this bug because: to track fix for RHEL9



[+] Description of problem:
 - when the root ad domain is not listed in ad_enabled_domains, sssd will mark the subdomains as offline

[+] Version-Release number of selected component (if applicable):
 - sssd-1.16.5-10.el7_9.8.x86_64

[+] How reproducible:
 - sometimes - the failure occurs when sssd tries to retrieve trust information from the root domain

[+] Steps to Reproduce:
1. configure an ad forest with two or more domains
2. enable only the ad subdomains in ad_enabled_domains
3. monitor sssd to see subdomains marked offline

[+] Actual results:
 - all domains are marked offline and sssd fails to perform user lookups for a certain period

[+] Expected results:
 - root domain being disabled is treated as normal and sssd keeps all subdomains online

[+] Workaround:
 - list ad root domain in ad_enabled_domains

Comment 1 Alexey Tikhonov 2021-09-02 10:30:30 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/5771

Comment 2 Alexey Tikhonov 2021-09-24 13:24:59 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5771

* `master`
    * 2a617c0efc07d10efc0688652bfe7ab2d8d6f477 - sdap: always create sdap object for a forest root
* `sssd-1-16`
    * 46b194196749d4ea77d5d4e6bdd64d7c0996b105 - sdap: always create sdap object for a forest root

Comment 11 errata-xmlrpc 2022-05-17 16:00:30 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 (new packages: sssd), 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:4015


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