title: Test LDAP connection using LDAP search
body: <p>Our Spring application deployed on Linux is failing with Acces Denied to issue a token. As the same code and setup works on other VM's I am speculating there could be an issue connecting to the LDAP server.</p>
  <p>These are the settings in spring-security-config.xml-</p>
  <pre><code>&lt;ldap-server id=&quot;ldapServer&quot; url=&quot;ldaps://ldap.sample.com:740&quot;
  manager-dn=&quot;cn=sample-QA,ou=applicationusers,o=company&quot;
  manager-password=&quot;fakepassword&quot; /&gt;
  </code></pre>
  <p>How do I use LDAPsearch to test the LDAP connection? Are there any existing test applications that I could use?</p>
  <p>Appreciate your help.</p>