Ldapsearch
From DWIKI
Links
HOWTO
ldapsearch using starttls
ldapsearch -x -ZZ -h ldap.example.com
ldapsearch example
ldapsearch -x -XX -h ldap.example.com -b "dc=example,dc=com" -D "CN=Admin,dc=Users,dc=example,dc=com" -W
check server certificate starttls
openssl s_client -connect ldap.example.com:389 -starttls ldap