Bug 16151 - winbindd stuck in init_dc_connection_rpc() returning NT_STATUS_TRUSTED_DOMAIN_FAILURE
Summary: winbindd stuck in init_dc_connection_rpc() returning NT_STATUS_TRUSTED_DOMAIN...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 4.24.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba release manager
QA Contact: Samba QA Contact
URL: https://gitlab.com/samba-team/samba/-...
Keywords:
Depends on:
Blocks:
 
Reported: 2026-06-25 16:08 UTC by Stefan Metzmacher
Modified: 2026-06-30 19:43 UTC (History)
1 user (show)

See Also:


Attachments
Patch for v4-24-test (2.35 KB, text/plain)
2026-06-27 06:10 UTC, Stefan Metzmacher
bjacke: review+
Details
Patch for v4-23-test (2.35 KB, text/plain)
2026-06-27 06:11 UTC, Stefan Metzmacher
bjacke: review+
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2026-06-25 16:08:10 UTC
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.
Comment 1 Samba QA Contact 2026-06-26 16:11:11 UTC
This bug was referenced in samba master:

23d1cab67b1c6f7d3cc4ead0d7a88ae809876001
Comment 2 Stefan Metzmacher 2026-06-27 06:10:42 UTC
Created attachment 19036 [details]
Patch for v4-24-test
Comment 3 Stefan Metzmacher 2026-06-27 06:11:04 UTC
Created attachment 19037 [details]
Patch for v4-23-test
Comment 4 Samba QA Contact 2026-06-30 16:51:28 UTC
This bug was referenced in samba v4-24-test:

bac191f781193c011c8d201bcd8ed0d87a73c21d
Comment 5 Samba QA Contact 2026-06-30 19:43:48 UTC
This bug was referenced in samba v4-24-stable (Release samba-4.24.4):

bac191f781193c011c8d201bcd8ed0d87a73c21d