Retrieve ADAM's password for authentication

Is there a way to retrieve the password associate with ADAM's user to authenticate user?

Ex: Adding new user to ADAM
user.Properties["sn"].Add(this.txtUserName.Text);
user.Invoke("SetPassword", new object[] {"YourPassword"} );
user.CommitChanges();

Looking for a way to get retrieve the password.

Thank you
myjcnAsked:
Who is Participating?
 
Ralf KlattEmployee in Civil ServiceCommented:
Hi,

Thank for your feedback, myjcn ...

... you might find an answer at http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnpag2/html/WSS_Ch3_ImpDirectAuth_WSE30.asp ... there are the following objectives: Implement direct authentication against Active Directory, Active Directory Application Mode (ADAM), or a custom SQL Server database using a security token that contains a user ID and password. Secure the communication channel by providing data confidentiality and data integrity. You can do this either at the message layer or at the transport layer. Demonstrate how to develop a custom UsernameTokenManager to support authentication against ADAM or a custom SQL database and demonstrate how to use ASP.NET 2.0 membership providers for SQL Server and a directory service.


I hope this solves ...
Best regards,
Raisor
0
 
Ralf KlattEmployee in Civil ServiceCommented:
Hi,

I'd suggest to read the following article: http://technet2.microsoft.com/WindowsServer/en/Library/ad8e750c-ccc4-453c-a5c9-403db7a72cef1033.mspx

... it's all about ADAM ...


Best regards,
Raisor
0
 
myjcnAuthor Commented:
Thanks for a good article Raisor!

I know some of the build-in tools can authenticate user with ADAM
ex: LDP.exe

However what I am looking for is to authenciate user with ADAM by using DirectoryService or other library in .NET (can be VB.NET or C#)

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.