Is there a way to ping and ldap server? I have seen ldapsearch and ldapwhoami but would appreciate something a bit more like ping. Essentially we have a bip address in front of a selection of LDAP servers and are looking to confirm which one we are connecting to.
closed as not a real question by MDMarra, gWaldo, Jacob, WesleyDavid, Tom O'Connor Feb 24 '12 at 15:36
It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, see the FAQ.
Ping is a tool aimed for testing (echo) replies from network hosts using the ICMP protocol. LDAP is a protocol that by default lives on TCP port 389, and does not directly communicate with ICMP.
If you're just looking for a tool to give you a quick "yeah, port is open and available", then you can just do a telnet query for port 389 (LDAP) or port 636 (LDAP SSL) with telnet.
You should see something like this:
Lots of people rather use nmap, so you can also do that:
There is also a Microsoft tool called PortQry that will give you a lot of info about a port(s):
just replace 389 with 636 for LDAP SSL
What you are asking is not clear.
You can ping ldap servers.
If you're on a Windows client, check your environment variable LOGONSERVER (via the