title: ldapsearch: Invalid credentials
body: <p>I am trying to authenticate against our institutional LDAP server with the command <code>ldapsearch</code>. My user info in LDAP is shown in the following image<img src="https://i.stack.imgur.com/64f7r.jpg" alt="1]"></p>
  
  <p>I used this command below to search by my DN:</p>
  
  <pre><code>ldapsearch -x -H ldap://ldap.mdanderson.edu:389 -D "CN=Djiao,OU=Institution,OU=People" -b DC=mdanderson,DC=edu -w xxxyyyzzz
  </code></pre>
  
  <p>However I got the error:</p>
  
  <pre><code>ldap_bind: Invalid credentials (49)
      additional info: 80090308: LdapErr: DSID-0C0903A9, comment: AcceptSecurityContext error, data 52e, v1db1
  </code></pre>
  
  <p>What is wrong with my ldapsearch command?</p>