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 1077328 - other subdomains are unavailable when joined to a subdomain in the ad forest
Summary: other subdomains are unavailable when joined to a subdomain in the ad forest
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Jakub Hrozek
QA Contact: Kaushik Banerjee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-17 18:22 UTC by Jeremy Agee
Modified: 2020-05-02 17:40 UTC (History)
9 users (show)

Fixed In Version: sssd-1.11.2-64.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-06-13 10:45:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs for each join and test (150.93 KB, application/x-gzip)
2014-03-17 18:22 UTC, Jeremy Agee
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github SSSD sssd issues 3327 0 None closed other subdomains are unavailable when joined to a subdomain in the ad forest 2020-09-03 17:16:30 UTC

Description Jeremy Agee 2014-03-17 18:22:25 UTC
Created attachment 875617 [details]
logs for each join and test

Description of problem:
Issues resolving uses for child or second tree domain when the sssd client system is joined to the child or second tree.

Version-Release number of selected component (if applicable):
sssd-1.11.2-58.el7

How reproducible:
every time.

Steps to Reproduce:

AD layout:
Root domain sssdad.com
Child domain child1.sssdad.com
Second tree domain sssdad_tree.com 

Client joined to one domain using ad_provider defaults for ldap_id_mapping

When joined to sssdad.com all users resolve.
id administrator
id administrator
id administrator.com
id user1_dom1
id user1_dom2
id user1_dom3.com

When joined to sssdad_tree.com the following users do not resolve.
id administrator.com
id user1_dom3.com

When joined to child1.sssdad.com the following users do not resolve.
id administrator
id user1_dom2

The set of logs are from tests on each domain join.

Administrator entry when connected to sssdad_tree.com
(Mon Mar 17 11:33:13 2014) [sssd[be[sssdad_tree.com]]] [sdap_save_user] (0x2000): Adding originalDN [CN=Administrator,CN=Users,DC=child1,DC=sssdad,DC=com] to attributes of [Administrator].

No entry for CN=Administrator,CN=Users,DC=sssdad_tree,DC=com in sssd_child1.sssdad.com.log.

No entries were logged for user1_dom3.com in sssd_sssdad_tree.com.log and user1_dom2 in sssd_child1.sssdad.com.log.

Expected results:
All forest users should resolve when joined to any trusted domain.

Comment 2 Jakub Hrozek 2014-03-17 21:51:05 UTC
Thank you for reporting this bug, I was able to reproduce it with Jeremy's help.

I'm not 100% sure about the fix yet and I'd like to discuss it with the other developers, but in short, I think we should connect to the forest root in order to download the full list of domains. There is a catch with our current implementation of SRV resolution, which doesn't allow changing the domain on the fly (first for forest root, then for domain we're enrolled with).

Comment 3 Jakub Hrozek 2014-03-17 21:53:43 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/2285

Comment 4 Dmitri Pal 2014-03-20 13:04:20 UTC
Ack for 7.0. Raising blocker. This is an AD integration issue for direct integration in multi domain setup.

Comment 7 Jakub Hrozek 2014-04-02 16:06:50 UTC
FWIW, the upstream patches were:
    master: e306ec431ccbe3df99e890767658dab217b1be94
    sssd-1-11: c410cb395e5999dc90b5e228a02990bcdd0f22ab

Comment 8 Jeremy Agee 2014-04-02 17:14:03 UTC
tested and passed with sssd-1.11.2-64.el7 marking verified.
https://beaker.engineering.redhat.com/jobs/625345

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ad_other_dc_02: bz 1077328 forest user lookup when joined to child domain
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Running 'id administrator' (Expected 0, got 0)
:: [   PASS   ] :: Running 'id user1_dom2' (Expected 0, got 0)
:: [   LOG    ] :: Duration: 5s
:: [   LOG    ] :: Assertions: 2 good, 0 bad
:: [   PASS   ] :: RESULT: ad_other_dc_02: bz 1077328 forest user lookup when joined to child domain

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: ad_other_dc_04: bz 1077328 forest user lookup when joined to second tree domain
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [   PASS   ] :: Running 'id administrator.com' (Expected 0, got 0)
:: [   PASS   ] :: Running 'id user1_dom3.com' (Expected 0, got 0)
:: [   LOG    ] :: Duration: 21s
:: [   LOG    ] :: Assertions: 2 good, 0 bad
:: [   PASS   ] :: RESULT: ad_other_dc_04: bz 1077328 forest user lookup when joined to second tree domain

Comment 9 Ludek Smid 2014-06-13 10:45:44 UTC
This request was resolved in Red Hat Enterprise Linux 7.0.

Contact your manager or support representative in case you have further questions about the request.


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