title: Which parameter is used for authentication in LDAP
body: <p>In case of LDAP authenticaion, what are the <strong>parameters</strong> that are generally used for <strong>authentication</strong>. I guess using DN would be a headache for users logging in via ldap because it is too large to remember.
  How is the option of using <em>uid</em> or <em>sAMAccountName</em> for authentication where in my implementation, I retrieve the dn of the corresponding uid or sAMAccountName and proceed to authentication.</p>
  
  <p>Am I going the right track?</p>