I have an LDAP plugin integrated with my web application, that part is working fine so this is not a programming question. This question relates to an LDAP search string itself. What does the search string look like if I wanted to lookup a user by username and password? If this is not possible, is there a way in LDAP for me to authenticate a user? To be clear I already have a successful bind using a service account and am not trying to connect to LDAP, that is working great, now that I can browse it however I am trying to figure out what search string is used to look up a specific user and get back the password so I can compare it. What would such an LDAP search query look like?
Some more clarity:
I am able to BIND with a service username and password as well as the remote host A-record and a BASE DN. Now I can browse a Tree as well as submit search strings and get back the results. I now want to be able to search for a user based on a form submitted username and password.