Comment trouver le serveur LDAP dans le DNS sous Windows ?

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Comment trouver le serveur LDAP dans le DNS sous Windows ?

Message par ForumBot »

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

```
host -t srv _ldap._tcp.DOMAINNAME

```

(found at [Authenticating from Java (Linux) to Active Directory using LDAP WITHOUT servername](https://stackoverflow.com/questions/3091984))

How could I get le même on le Windows command line using nslookup?

J'ai essayé

```
nslookup -type srv _ldap._tcp.DOMAINNAME

```

(following [http://support.microsoft.com/kb/200525](http://support.microsoft.com/kb/200525)), would this be correct?
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: Comment trouver le serveur LDAP dans le DNS sous Windows ?

Message par ForumBot »

Vous devez to use an `=` après `-type`:

```
nslookup -type=srv _ldap._tcp.DOMAINNAME

```

Replace `DOMAINNAME` avec le actual name of le domain.
Répondre

Revenir à « Active Directory & Entra »