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 1845980

Summary: sssd is failing to discover other subdomains in the forest if LDAP entries do not contain AD forest root information
Product: Red Hat Enterprise Linux 8 Reporter: Alexey Tikhonov <atikhono>
Component: sssdAssignee: Sumit Bose <sbose>
Status: CLOSED ERRATA QA Contact: sssd-qe <sssd-qe>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.2CC: dlavu, grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sbose, sgoveas, thalman, tscherf
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: sync-to-jira
Fixed In Version: sssd-2.3.0-3.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-11-04 02:05:17 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 Alexey Tikhonov 2020-06-10 14:17:41 UTC
This bug was initially created as a copy of Bug #1773409

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



Description of problem:
This is a AD direct integration setup as follows:

1. RHEL hosts are joined to inf.nz.example.com
2. AD users are located in corp.nz.example.com
3. Transitive trust established under nz.example.com
4. Forest root is au.domain.com

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

How reproducible:
Specific to customer environment.

Actual results:
RHEL hosts in inf.nz.example.com are not able to resolve AD users from corp.nz.example.com

Expected results:
RHEL hosts in inf.nz.example.com should be able to resolve AD users from corp.nz.example.com since there is a transitive trust established between these domains.

Additional info:

Comment 1 Alexey Tikhonov 2020-06-10 14:20:09 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/5152

* `master`
    * e25e1e9228a6108d8e94f2e99f3004e6cbfc3349 - ad: check forest root directly if not present on local DC
    * 3ae3286d61ed796f0be7a1d72157af3687bc04a5 - ad: add ad_check_domain_{send|recv}
    * 8c642a542245a9f9fde5c2de9c96082b4c0d0963 - ad: remove unused trust_type from ad_subdom_store()
    * 2bad4d4b299440d33919a9fdb8c4d75814583e12 - ad: rename ads_get_root_id_ctx() to ads_get_dom_id_ctx
    * 9aa26f6514220bae3b3314f830e3e3f95fab2cf9 - sysdb: make new_subdomain() public
    * d3089173dd8be85a83cf0236e116ba8e11326a6d - ad: rename ad_master_domain_* to ad_domain_info_*
    * 8ca799ea968e548337acb0300642a0d88f1bba9b - sysdb: make sysdb_update_subdomains() more robust

Comment 17 Dan Lavu 2020-08-11 14:46:38 UTC
Verified against sssd-2.3.0-7.el8.x86_64

[root@ci-vm-10-0-106-175 sssd]# id Administrator.t3for12r83.com
uid=690000500(administrator.t3for12r83.com) gid=690000513(domain users.t3for12r83.com) groups=690000513(domain users.t3for12r83.com),690000520(group policy creator owners.t3for12r83.com),690000512(domain admins.t3for12r83.com),690000572(denied rodc password replication group.t3for12r83.com)

[root@ci-vm-10-0-106-175 sssd]# id Administrator.com
uid=1710800500(administrator.com) gid=1710800500(administrator.com) groups=1710800500(administrator.com),1710800512(domain admins.com),1710800513(domain users.com),1710800520(group policy creator owners.com)

[root@ci-vm-10-0-106-175 sssd]# id Administrator
uid=1103800500(administrator) gid=1103800500(administrator) groups=1103800500(administrator),1103800513(domain users),1103800512(domain admins),1103800518(schema admins),1103800520(group policy creator owners),1103800519(enterprise admins)

Comment 20 errata-xmlrpc 2020-11-04 02:05:17 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-2020:4569