Skip to content

Instantly share code, notes, and snippets.

@RichardHan
Created December 15, 2016 03:23
Show Gist options
  • Save RichardHan/0b00c8ab39c66307f13887853c4c97f4 to your computer and use it in GitHub Desktop.
Save RichardHan/0b00c8ab39c66307f13887853c4c97f4 to your computer and use it in GitHub Desktop.
Find LDAP Server in the DNS
nslookup -type=srv _ldap._tcp.{your_domain_name}
e.g.
nslookup -type=srv _ldap._tcp.tw.server.org
nslookup -type=srv _ldap._tcp.us.server.org
nslookup -type=srv _ldap._tcp.cn.server.org
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment