Emilian Mitocariu
2021-Jun-30 08:00 UTC
[Samba] Failed to connect lsa server when trying to create a domain trust
Hi, I'm trying to create a domain trust between a Windows server 2019 AD with domain level 2016 and forest level 2012 R2 (let's call it win.local) and a Samba 4.7.6 (Ubuntu 18.04) AD with domain and forest level 2008 R2 (let's call it sam.local) When I run: samba-tool domain trust create win.local --type=external --direction=both and other variations of it, I always get this error: ERROR: REMOTE_DC[dc1.win.local]: failed to connect lsa server - ERROR(0xC000020D) - The transport connection has been reset. oaad-dc7.oaad.local resolves to the right IP and the DCs I'm trying to create the trust between are in the same network, so there should not be any restrictions between. Another colleague tried before me to create the trust with the AD Domains and Trusts tool which failed with the error: "The security ID structure is invalid." Does anyone have any idea why this happens and how can I fix it?
Rowland Penny
2021-Jun-30 08:41 UTC
[Samba] Failed to connect lsa server when trying to create a domain trust
On Wed, 2021-06-30 at 11:00 +0300, Emilian Mitocariu via samba wrote:> Hi, > > I'm trying to create a domain trust between a Windows server 2019 AD > with > domain level 2016 and forest level 2012 R2 (let's call it win.local) > and a > call it sam.local) >Try upgrading Samba, 4.7.6 is very old Rowland