Bug 15620 - s4:nbt_server: does not provide unexpected handling, so winbindd can't use nmb requests instead cldap
Summary: s4:nbt_server: does not provide unexpected handling, so winbindd can't use nm...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.20.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Stefan Metzmacher
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-04-05 12:02 UTC by Stefan Metzmacher
Modified: 2024-04-09 22:13 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2024-04-05 12:02:19 UTC
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.
Comment 1 Samba QA Contact 2024-04-05 13:29:11 UTC
This bug was referenced in samba master:

7f96c21029e3b94d38bd871c79cabf872ad77fae
105247c90007474947e2314b63be72fb21f09811
011f68ae5ddc3fae8b453744aeb95766d885915e
f90cf0822d6e66426d72f92bd585119066e2a9c3
696505a1efbcc9803a287d8c267fed9d04bf8885
2b66663c75cdb3bc1b6bc5b1736dd9d35b094b42
cca373b806e01fc57bd5316d3f8a17578b4b6531
11861bcfc3054894bc445e631ae03befb4865db8
77f4f1c7dbaa2bb04d59d908923f6d11fd514da2
bfb10774b65af65f9c438a5d3e87529b1fcf46a1
796f33c05a0ca337b675b5d4d127f7c53b22528f