[ldap] ldapsearch over ssl/tls doesn't work