With the fixes for https://bugzilla.samba.org/show_bug.cgi?id=14638 and https://bugzilla.samba.org/show_bug.cgi?id=16067 We may not have a valid smb connection as we don't need one for ncacn_ip_tcp rpc traffic. But we still use init_dc_connection_rpc() and that keeps returning NT_STATUS_TRUSTED_DOMAIN_FAILURE until winbindd is restarted.
This bug was referenced in samba master: 23d1cab67b1c6f7d3cc4ead0d7a88ae809876001
Created attachment 19036 [details] Patch for v4-24-test
Created attachment 19037 [details] Patch for v4-23-test
This bug was referenced in samba v4-24-test: bac191f781193c011c8d201bcd8ed0d87a73c21d
This bug was referenced in samba v4-24-stable (Release samba-4.24.4): bac191f781193c011c8d201bcd8ed0d87a73c21d