The recommendation of "name resolve order = wins bcast" for "security = ads" seems problematic to me. I'm using 4.13.17 on Ubuntu 20.04, connecting to a Windows Server 2016 domain (with RFC2307, but that shouldn't matter here).
With this recommendation, a flurry of errors occur on about everything, including wbinfo -P ("No logon servers") or wbinfo -i user ("WBC_ERR_DOMAIN_NOT_FOUND").
I suggest removing or at least restricting the recommendation.
(In reply to Jonathan Neuhauser from comment #0)
Setting 'name resolve order = wins bcast' on 4.13.13 (Debian 11) allows 'wbinfo -P' to work for myself, but I have to use 'wbinfo -i DOMAIN\username' to get correct output (I do not have 'winbind use default domain = yes' set)
This sounds like a misconfiguration in smb.conf, so would you like to drop around the samba mailing list with a copy of your smb.conf ?
(In reply to Rowland Penny from comment #1)
Closing this, it was misconfiguration.