Validate Password entered on an LDAP server

Asked

Viewed 44 times

0

I have a page in HTML, CSS bootstrap, js and the like. The page is a self-service so users can change their password. works like this:

DIGITE SEU USUÁRIO       :
DIGITE SUA SENHA ATUAL   :
DIGITE SUA NOVA SENHA    :
CONFIRME A NOVA SENHA    :

A simple form, my question is as follows. How to validate if the current password is correct, and do the treatment of options? The current password entered is wrong, try again, if everything was correct, enter password changed successfully.

  • Could you explain what this "affines" is? In what language are you programming? Can you already communicate with LDAP? If so, how are you doing it? Add this information so we can help you.

  • Hello Randrade, actually I do not have it done, when I mentioned the technologies, I actually meant that I have it available to bring the end result, which can be as simple as possible. I have an idea of how to connect in ldap and I imagine it will not be a problem, but thinking ahead I was in doubt about how to validate the current password that the user inform.... and of course, do the treatment of the result.

  • How about you put your code in so we can analyze what you’ve done and help you.

  • I will develop it and when I get to the part I doubt I put here for all to see.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.