Re: how to handle password via LDAP ?

Tech-Archive recommends: Fix windows errors by optimizing your registry



marc wrote:
Hello NG,

we successfully connected AD via LDAP in order to synchronize user-accounts with another web-application. When reading the data from AD we receive encoded (naturally) passwords of which we have no clue how to handle them? It seems to be a 2-digit-binary value, but how is it encoded? What format is it? "Standard" one-way Algorithm?
Basically we want users to logon to either AD internally or the other web-application externally using one and the same login name and password. There should be many out there with the same kind of problem/desire?!?!

Grateful for any hint ....

Trying to decode or read the password as You are trying to do this now is probably the worst possible approach You can take.

If You want to get Your users authenticated against AD You can do this from Your application directly against AD or against ADAM (configured with userProxy objects). If Your application is written in .NET You can use SDS namespace to achieve this.


--
Tomasz Onyszko
http://www.w2k.pl/ - (PL)
http://blogs.dirteam.com/blogs/tomek/ - (EN)
.