title: Can't Bind for successful connection
body: <p>I am trying to test a connection to AD using OpenLDAP and this is what I try on the command line:</p>
  <pre><code>/usr/bin/ldapsearch -h names.myorg.com \
      -p 389 \
      -D &quot;cn=conapps readonly,cn=users,dc=myorg,dc=com&quot; \
      -LLL \
      -x \
      -b &quot;ou=MyOrg Staff,ou=People,dc=myorg,dc=com&quot; \
      -s sub &quot;(objectClass=*)&quot; DN sn givenName mail userPrincipalName employeeID usertype \
      -W
  </code></pre>
  <p>However, I keep getting the following error:</p>
  <pre><code>Operations error (1)
  Additional information: 00000000: LdapErr: DSID-0C090627, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, vece
  </code></pre>
  <p>Can anybody see what I am doing incorrectly?</p>