Bug 16153 - dsgetdcname() may not detect an active directory domain if the netbios domain name is given and nmbd nor the nbt service is available
Summary: dsgetdcname() may not detect an active directory domain if the netbios domain...
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.24.4
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Stefan Metzmacher
QA Contact: Samba QA Contact
URL: https://gitlab.com/samba-team/samba/-...
Keywords:
Depends on:
Blocks: 12902
  Show dependency treegraph
 
Reported: 2026-07-02 08:26 UTC by Stefan Metzmacher
Modified: 2026-07-02 12:47 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2026-07-02 08:26:51 UTC
Modern setups may not start nmbd, that means doing an netbios ping in order
to detect a ad domain doesn't work, so we better try cldap first as it's 2026
and most domains should be AD.
Comment 1 Samba QA Contact 2026-07-02 09:34:03 UTC
This bug was referenced in samba master:

8bd496bf937d3a38482943e973a196f2c1f902a9