How can I get the username and password of a user that is already registered in LDAP. That is, he should open my program (I am writing in JAVA), and it will automatically check whether this user is, and take all possible data about him. I was looking for different options, but I could not find it, I heard you can use a Kerberos token, or a request to LDAP. If someone had such a problem, please respond.
If Active Directory could give passwords of any users so easily, then no one would have used them for a long time. You can get any other information about the user if you have the appropriate access rights, but not the password.