Comment find the LDAP server dans the DNS sur Windows?

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Comment find the LDAP server dans the DNS sur Windows?

Message par Clippy »

For Linux, this command should return the DNS record for the LDAP server


host -t srv _ldap._tcp.DOMAINNAME


(found at Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername)


How could I get the same on the Windows command line using nslookup?


I tried


nslookup -type srv _ldap._tcp.DOMAINNAME


(following http://support.microsoft.com/kb/200525), would this be correct?




Source :

ayi
Site Admin
Messages : 9242
Inscription : mer. 22 avr. 2026, 17:21

Re: Comment find the LDAP server dans the DNS sur Windows?

Message par ayi »

You need to use an = after -type:


nslookup -type=srv _ldap._tcp.DOMAINNAME


Replace DOMAINNAME with the actual name of the domain.

Répondre

Revenir à « Windows 11 »