title: LDAP's user authentication test in linux scripting
body: <p>I want to use LDAP user's credential in one of my Linux scripts, in which I want to take user name and password and want to test the authentication. </p>
  
  <p>I have used <code>ldapsearch</code> command to check the user's name validation and now want to check the same for the password. </p>
  
  <p>Is there any command I can use to check this?</p>