Bug 14998 - Winbind uses the wrong ad server when connecting
Summary: Winbind uses the wrong ad server when connecting
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Winbind (show other bugs)
Version: 4.13.13
Hardware: x64 Linux
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2022-03-07 01:54 UTC by Matthew Stapleton
Modified: 2022-03-25 14:30 UTC (History)
2 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Stapleton 2022-03-07 01:54:20 UTC
When I run wbinfo --ping-dc often connects to the dc at the bottom of the dns list instead of the primary dc as though it isn't looking at Sites and Services entries. 

I found a post from 2016, but it had no answer: https://lists.samba.org/archive/samba/2016-September/202986.html and my server is configured according to https://wiki.samba.org/index.php/Setting_up_Samba_as_a_Domain_Member

How do I fix this?