[Samba] Fresh ad installation - Win2022 can't join

Rowland Penny rpenny at samba.org
Thu Jan 4 09:37:41 UTC 2024


On Thu, 4 Jan 2024 08:16:44 +0100
lists--- via samba <samba at lists.samba.org> wrote:

> Good morning, and a Happy New Year 🙂
> 
> I'd like to setup a test-enviroment, based on Debian Bookworm and
> mjt's 4.19.3 packages.
> samba is running as a Hyper-V vm, its ip is 192.168.178.37, its name
> is dc.augusta.domain.tld
> 
> My idea is to use this dc for two networks (192.168.178.0/24 and 
> 192.168.180.0/24) and for testing one Windows 2022 server 
> (192.168.178.34/24).
> I used these two guides:
> https://wiki.samba.org/index.php/Setting_up_Samba_as_an_Active_Directory_Domain_Controller
> https://wiki.samba.org/index.php/DNS_Administration
> Plus I added an computer-account by using "samba-tool computer add
> %name%" So far, so good ... ?
> 
> When trying to add the Windows 2022 server to the domain I get this 
> error message (in german):
> Beim Abfragen von DNS über den Ressourceneintrag der 
> Dienstidentifizierung (SRV), der zur Suche eines Active 
> Directory-Domänencontrollers (AD DC) für die Domäne
> "augusta.domain.tld" verwendet wird, ist ein Fehler aufgetreten.
> 
> Fehler: "Bei der DNS-Abfrage wurden keine Einträge gefunden."
> (Fehlercode 0x0000251D DNS_INFO_NO_RECORDS)
> 
> Es handelt sich um die Abfrage des Dienstidentifizierungseintrags für 
> _ldap._tcp.dc._msdcs.augusta.domain.tld.
> 
> So: what did I wrong, or what is missing?
> 	

Lets start with the obvious, does the record exist, running the
following command should produce a record for every DC:

host -t SRV _ldap._tcp.dc._msdcs.augusta.domain.tld.

How are you trying to join the 2022 machine ? As a DC or a domain
member ?
The Latter should work, but there is this bug report:

https://bugzilla.samba.org/show_bug.cgi?id=15495

Rowland



More information about the samba mailing list