winbindd needs to try nmb/dgram requests in order to implement wbint_DsGetDcName() for dcesrv_netr_DsRGetDCName_base_call(), when the client provides only an NT4 domain name. In the AD DC case process_dc_netbios() falls back to name_status_find() and only returns NT4 data, even if the request is for an ad trust.
This bug was referenced in samba master: 7f96c21029e3b94d38bd871c79cabf872ad77fae 105247c90007474947e2314b63be72fb21f09811 011f68ae5ddc3fae8b453744aeb95766d885915e f90cf0822d6e66426d72f92bd585119066e2a9c3 696505a1efbcc9803a287d8c267fed9d04bf8885 2b66663c75cdb3bc1b6bc5b1736dd9d35b094b42 cca373b806e01fc57bd5316d3f8a17578b4b6531 11861bcfc3054894bc445e631ae03befb4865db8 77f4f1c7dbaa2bb04d59d908923f6d11fd514da2 bfb10774b65af65f9c438a5d3e87529b1fcf46a1 796f33c05a0ca337b675b5d4d127f7c53b22528f
Created attachment 18314 [details] Patches for v4-20-test
Reassigning to Jule for inclusion in 4.20.
This bug was referenced in samba v4-20-test: 260d1bbacf874254762825a6da398952cea61499 27e4297f4c767612917905246598a564a95b0b82 2f73d251e0c23973d649ac32f30d6539df8fd950 234df77ae0a50b3471cc28209ec1e523a198838d b0c2389c886673451f48a1be9ca51415b44314fb b440c11ea0f770623f67f8e1f6e8f3fee0cf15f9 cf37f9f527269ac2d76577dc0df53f1d369f1817 40fe6480d0d4c0dc00b05e8c52b234243c4e652b 82f73dc23127c033346604fdfc94d5bf94295375 6a673a35ea0a5d79526b96ed462cd7d0d916abbb 9d80c928b0196839035c0272c0945aad8a3b461a
Created attachment 18315 [details] Patches for v4-19-test
Reassigning to Jule for inclusion in 4.19.
Pushed to autobuild-v4-19-test.
This bug was referenced in samba v4-20-stable (Release samba-4.20.2): 260d1bbacf874254762825a6da398952cea61499 27e4297f4c767612917905246598a564a95b0b82 2f73d251e0c23973d649ac32f30d6539df8fd950 234df77ae0a50b3471cc28209ec1e523a198838d b0c2389c886673451f48a1be9ca51415b44314fb b440c11ea0f770623f67f8e1f6e8f3fee0cf15f9 cf37f9f527269ac2d76577dc0df53f1d369f1817 40fe6480d0d4c0dc00b05e8c52b234243c4e652b 82f73dc23127c033346604fdfc94d5bf94295375 6a673a35ea0a5d79526b96ed462cd7d0d916abbb 9d80c928b0196839035c0272c0945aad8a3b461a
This bug was referenced in samba v4-19-test: 7e076141857f77e376bfff9261df3779fe808f14 39789dce2dd7125c73fa45478eb21652d3e18fe3 5de4ae88cedcbe584961ac575ebeddb75342286c 8c06b437064a5880202a46e137b71a57d329fc51 8b39131deb4b70382f968ee6bae32e604f716675 12a6060eed043fe5423bb14fbe9ffa76b69d8ceb e2cec0d2800caf9ef9a4509063200371ba62388c 1d766f29245f668f9b22f4b8376f3ea43ff36ede a308204aa1b431466b1fd12e6a69e411fea82f19 9a9dc9989266ae2b6d40295376b1fa72e9bde3ba 7ccbbb4baf1380ead6d7cb2d66694cccba7d5d85
Closing out bug report. Thanks!
This bug was referenced in samba v4-19-stable (Release samba-4.19.8): 7e076141857f77e376bfff9261df3779fe808f14 39789dce2dd7125c73fa45478eb21652d3e18fe3 5de4ae88cedcbe584961ac575ebeddb75342286c 8c06b437064a5880202a46e137b71a57d329fc51 8b39131deb4b70382f968ee6bae32e604f716675 12a6060eed043fe5423bb14fbe9ffa76b69d8ceb e2cec0d2800caf9ef9a4509063200371ba62388c 1d766f29245f668f9b22f4b8376f3ea43ff36ede a308204aa1b431466b1fd12e6a69e411fea82f19 9a9dc9989266ae2b6d40295376b1fa72e9bde3ba 7ccbbb4baf1380ead6d7cb2d66694cccba7d5d85