title: Getting bind error while connecting to ldap
body: <p>I have written the following ldap command to test ldap connection </p>
  
  <pre><code> ldapsearch -x -h ldap.com -b "uid=user1,ou=people,dc=domain,dc=com" 
  </code></pre>
  
  <p>I am getting the following output</p>
  
  <pre><code># extended LDIF
  #
  # LDAPv3
  # base &lt;uid=user1,ou=people,dc=domain,dc=com&gt; with scope subtree
  # filter: (objectclass=*)
  # requesting: ALL
  #
  
  # search result
  search: 2
  result: 1 Operations error
  text: 000004DC: LdapErr: DSID-0C0907C2, comment: In order to perform this opera
   tion a successful bind must be completed on the connection., data 0, v2580
  
  # numResponses: 1
  </code></pre>
  
  <p>Please suggest how to resolve bind error</p>