title: ldapsearch does not return when ldaps is used
body: <p>when I try in my test lab to do a </p>
  
  <p><code>ldapsearch -x -H ldaps://ldap.server.com</code></p>
  
  <p>it just sets there and return nothing. But when when I put </p>
  
  <p><code>10.10.10.10    ldap.server.com</code>    in    <code>/etc/hosts</code> </p>
  
  <p>and do a </p>
  
  <p><code>ldapsearch -x -H ldap://ldap.server.com</code> </p>
  
  <p>I do get something like </p>
  
  <pre><code># search result
  search: 2
  </code></pre>
  
  <p>How can I get ldaps to work too? Thank you</p>