Re: check a user password
- From: "Willy Denoyette [MVP]" <willy.denoyette@xxxxxxxxxx>
- Date: Mon, 25 Dec 2006 17:03:41 +0100
"webrod" <rodolphe.aoustin@xxxxxxxxx> wrote in message news:1166912590.666036.170890@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Willy Denoyette [MVP] a écrit :
"webrod" <rodolphe.aoustin@xxxxxxxxx> wrote in message
news:1166795586.681185.141220@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
> how can I check a user/password in a LDAP ?
>
Which LDAP? AD or other?
Actually, any.
My customer can have AD, ADAM or a Novell AD (don't know yet which
one).
I was doing some test with ADAM and thought I could get the encoded
password (MD5) to compare with the password provided by the user.
You can't retrieve the password of a windows account from the AD.
even the encoded one??
No, while you can set or modify the "userpassword" property, you can't retrive this property from AD or ADAM (now called AD LDS), don't know for sure about NDS but I would be surprised if you could.
Try for yourself using adsiedit, bind to NDS, AD or ADAM and try to get the "userpassword" property, you'll see that this is always empty.
Checking the validity of a password must be done by "authenticating", when authenticating an ADAM user you'll have perform an LDAP Bind operation, specifying the adam user's credentials.
Note, that "ADAM User" identities are NOT "Windows User" identities, binding against ADAM using an ADAM user's credentials can only be done using basic authentication.
Willy.
.
- Follow-Ups:
- Re: check a user password
- From: webrod
- Re: check a user password
- References:
- check a user password
- From: webrod
- Re: check a user password
- From: Willy Denoyette [MVP]
- Re: check a user password
- From: webrod
- check a user password
- Prev by Date: Re: How to remove quotes, commas, from numbers (considered as strings)?
- Next by Date: RE: Error using configSource attribute.
- Previous by thread: Re: check a user password
- Next by thread: Re: check a user password
- Index(es):
Relevant Pages
|
Loading