Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have been following some tutorials on installing the client and connecting to the LDAP server and they all say its via ssh.

Is there another way besides ssh to connect to the LDAP server?

share|improve this question

closed as not a real question by Renan, Canadian Luke, bwDraco, 8088, Ƭᴇcʜιᴇ007 Oct 14 '12 at 15:42

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, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

An example with ldapsearch command line tool:

ldapsearch -b "dc=foobar,dc=fr" -D "cn=Manager,dc=foobar,dc=fr" -w ldap

It comes with openldap package.

share|improve this answer

LDAP is a protocol, transmitted described in terms of ASN.1 and transmitted using BER. It has nothing whatsoever to do with "ssh". LDAP clients connect using the protocol, which is described in RFC4511. Clients may:

  • connect on a non-secure connection
  • connect on a non-secure connection and promote the connection to a secure connection using the StartTLS extended operation
  • connect using SSL (not ssh), in this case the connection is secure right away

As noted, the legacy OpenLDAP distribution includes the ldapsearch command. Many programming languages include an API for LDAP, most notably Java.

see also

share|improve this answer

Not the answer you're looking for? Browse other questions tagged .