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 2000238 - 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 7
Classification: Red Hat
Component: sssd
Version: 7.9
Hardware: x86_64
OS: Linux
high
medium
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Dan Lavu
URL:
Whiteboard: sync-to-jira
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-01 16:12 UTC by Striker Leggette
Modified: 2021-11-23 17:23 UTC (History)
13 users (show)

Fixed In Version: sssd-1.16.5-10.el7_9.11
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-11-23 17:17:01 UTC
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:25:31 UTC
Red Hat Issue Tracker RHELPLAN-95911 0 None None None 2021-09-01 16:13:50 UTC
Red Hat Issue Tracker SSSD-3795 0 None None None 2021-10-06 10:08:34 UTC
Red Hat Product Errata RHBA-2021:4793 0 None None None 2021-11-23 17:17:05 UTC

Description Striker Leggette 2021-09-01 16:12:46 UTC
[+] 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 8 Sumit Bose 2021-09-02 10:20:50 UTC
Upstream ticket:
https://github.com/SSSD/sssd/issues/5770

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

Comment 23 Alexey Tikhonov 2021-09-24 13:24:45 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 30 Dan Lavu 2021-11-12 18:20:22 UTC
Verified against sssd-1.16.5-10.el7_9.11.x86_64

[root@ci-vm-10-0-107-140 ~]# cat /etc/sssd/sssd.conf 

[sssd]
domains = child-y3fb.domain-y3fb.com
config_file_version = 2
services = nss, pam


[domain/child-y3fb.domain-y3fb.com]
debug_level = 9 
ad_enabled_domains = child-zf0b.domain-zf0b.com
ad_domain = child-y3fb.domain-y3fb.com
krb5_realm = CHILD-Y3FB.DOMAIN-Y3FB.COM
realmd_tags = manages-system joined-with-samba 
cache_credentials = True
id_provider = ad
krb5_store_password_if_offline = True
default_shell = /bin/bash
ldap_sasl_authid = CI-VM-10-0-107-$
ldap_id_mapping = True
use_fully_qualified_names = True
fallback_homedir = /home/%u@%d
access_provider = ad


[root@ci-vm-10-0-107-140 ~]# id administrator.com
uid=1096800500(administrator.com) gid=1096800513(domain users.com) groups=1096800513(domain users.com),1096800520(group policy creator owners.com),1096800512(domain admins.com),1096800572(denied rodc password replication group.com)

[root@ci-vm-10-0-107-140 ~]# id administrator
id: administrator: no such user

Comment 35 errata-xmlrpc 2021-11-23 17:17:01 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-2021:4793


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