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:


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.