Red Hat Bugzilla – Bug 1403242
Samba can not access trusted domains through transitive trusts
Last modified: 2017-08-01 14:19:59 EDT
+------------------+ +------------------+ | | | | | 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!
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.
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!
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.
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