Re: Get user password in Active Directory



Hello Mathieu,

yes, Windows authentication is one of the best solutions, but, in my case,
there are several restrictions, like lost connectivity, ... that makes no
possible to implement this solution. An altenative solution is the one that
I've written to you: get encrypted user password from Active Directory, save
into a database and then encrypt the user password, write down, in plain text
to compare it with the database value.

Hmmmm ... in this way I think that's no possible to get password, but ...
another question, do you know any way to encrypt an user password with the
same function or algorithm that Active Directory do?.

MD5 algorithm?.

Thanks very much indeed.

"Mathieu CHATEAU" wrote:

why not just using ldap to validate the account ?

As you are using .Net, you can even use integrated authentification, which
is far better from a user experience perspective !

--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr


"Juan Manuel Porras Gálvez" <jmpgalvez@xxxxxxxxxxxxxxxxxxxx> wrote in
message news:81EA036D-CA53-4376-A390-F6A7B275D735@xxxxxxxxxxxxxxxx
Thanks for your response, but by programming, only by programming, I need
to
know how to get the encrypted user password in Active Directory and then
save
it into a database.

By this way, when an user log on into my application, I'll try to encrypt
the password manually introduced and I'll compare it with the other one
saved
into the database.

Regards.


"Mathieu CHATEAU" wrote:

Hello,

tools exist. They dump the AD database from DC.

What are you trying to achieve ?

--
Cordialement,
Mathieu CHATEAU
English blog: http://lordoftheping.blogspot.com
French blog: http://www.lotp.fr


"Juan Manuel Porras Gálvez" <jmpgalvez@xxxxxxxxxxxxxxxxxxxx> wrote in
message news:7178CC2F-47EC-4049-9FCF-23624C501351@xxxxxxxxxxxxxxxx
Hello all, my question is: are there any way to get the encrypted user
password in Active Directory using .NET programming?.

I suppose it's no possible to get uncrypted user password, and ... are
there
any algorithm, function, or things like that to encrypt user password
like
Active Directory?.

Thanks very much.





.



Relevant Pages

  • Re: Get user password in Active Directory
    ... English blog: http://lordoftheping.blogspot.com ... know how to get the encrypted user password in Active Directory and then save ... it into a database. ... > I suppose it's no possible to get uncrypted user password, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Get user password in Active Directory
    ... Thanks for your response, but by programming, only by programming, I need to ... know how to get the encrypted user password in Active Directory and then save ... password in Active Directory using .NET programming?. ... I suppose it's no possible to get uncrypted user password, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Get user password in Active Directory
    ... In order to tolerate loss of connectivity you see that you could keep ... That implies each place your app is used, there will be this database. ... On the other hand, if you rely on Windows to do the authentication, ... get encrypted user password from Active Directory, ...
    (microsoft.public.windows.server.active_directory)
  • Re: Windows2000nt login at start-up
    ... This newsgroup is for Microsoft Access (the database application). ... help a friend of mine get her windows restarted, ... problem is the user password at start up has been ...
    (microsoft.public.access.security)
  • How to ensure that backend database cannot be copied out?
    ... I have a frontend which is secured with a user password. ... as the tables are linked to a backend database. ... How can I secure the backend ...
    (microsoft.public.access.security)