Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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
add comment

closed as not a real question by Renan, Canadian Luke, DragonLord, 8088, techie007 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.

2 Answers

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
add comment

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
add comment

Not the answer you're looking for? Browse other questions tagged or ask your own question.