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 1403242 - Samba can not access trusted domains through transitive trusts
Summary: Samba can not access trusted domains through transitive trusts
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: samba
Version: 7.4
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Andreas Schneider
QA Contact: Robin Hack
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-09 13:37 UTC by Andreas Schneider
Modified: 2020-06-11 13:07 UTC (History)
7 users (show)

Fixed In Version: samba-4.6.0-0.1.rc3.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-08-01 18:19:59 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2017:1950 0 normal SHIPPED_LIVE Low: samba security, bug fix, and enhancement update 2017-08-01 18:09:24 UTC
Samba Project 8630 0 None None None 2016-12-09 13:37:33 UTC

Description Andreas Schneider 2016-12-09 13:37:00 UTC
+------------------+                +------------------+
|                  |                |                  |
| FOREST1 DOM ROOT <----------------+ FOREST2 DOM ROOT |
|                  |   two-way      |                  |
+------------------+    trust       +--------+---------+
                                             ^
                                             |
        ^                                    |
        |                            +-------+-------+
        |                            |               |
        |                            | CHILD.FOREST1 |
        |                            |               |
        |                            +-------+-------+
        |                                    ^
        |                                    |
        |                                    |
        | LOGIN                         +----+----+
        | FOREST1\Administrator         |         |
        +------------------------+      | WINBIND |
                                        |         |
                                        +---------+


WINBIND is a Linux machine and is joined to CHILD.FOREST1. Now a user from FOREST1 wants to login to WINBIND. This does not work and is known to be broken since 2011.

It can be fixed if the user does not want login (ssh) to the machine but access a Samba share.


P.S: This bug will track ONLY for this scenario. If you/the cusomter have different domain setup, open a new bug!

Comment 5 Andreas Schneider 2017-01-09 13:50:13 UTC
I configured the domains like described above and used Samba 4.2.10. I'm not able to get it in a working state with Samba 4.2.10.

Comment 7 Andreas Schneider 2017-01-16 10:11:10 UTC
This is from Samba 4.6rc1:


samba-cli01:~ # wbinfo --online-status
BUILTIN : online
SAMBA-CLI01 : online
MARS : online
EARTH : online
samba-cli01:~ # getent passwd BERLIN+administrator
BERLIN+administrator:*:500000500:500000513::/home/BERLIN/administrator:/bin/bash

BERLIN is a child domain of EARTH
EARTH and MARS have a two-way trust



We fixed this issue and the fix will be in Samba 4.6 and this in RHEL 7.4!

Comment 12 Andreas Schneider 2017-02-15 14:13:46 UTC
I don't know why this worked on samba-4.2.10 I'm not able to create a working scenario with 4.2.10.

Comment 24 errata-xmlrpc 2017-08-01 18:19:59 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, 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/RHSA-2017:1950


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