LDAP
ldapsearch – LDAP search tool
ldapsearch -x -D "CN=leo,OU=mygroup,DC=company,DC=com" -b "DC=company,DC=com" -H ldaps://server -W
ldap.conf, .ldaprc – LDAP configuration file/environment variables
/etc/ldap/ldap.conf, ldaprc, .ldaprc, $LDAP
To bypass certificate verification (temporary useful to accept self-signed certificates)
TLS_REQCERT never
Important: reload/restart the services using this file.