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?
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.
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:
As noted, the legacy OpenLDAP distribution includes the ldapsearch
command. Many programming languages include an API for LDAP, most notably Java.