• Post Reply Bookmark Topic Watch Topic
  • New Topic

Open Ldap and Java  RSS feed

 
Arun kumar
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys ,
I tried to access data from LDAP and it seems the userpassword is in a encrypted format using MD5.
The password looks like " {MD5}RX5uBO/CdEjQpaM/0KTDCg== ".
Actually i want to check if the username(uid) and the password provided by user is correct.
I tried search filters too, even they take only normal text and the comparison fails.
please provide me a suitable solution.

 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since MD5 is not reversible, you need to take the password supplied by the user and run that through MD5. If it matches what's stored in the repository then the password was correct.
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!