I am new to LDAP, and i need help understanding how to authenticate a user when they login using their network username and password.
Also after authentication, how to bring back the full name and email of the user.
My application is developed in vb.net 2010 and sql server 2008. I have a login page and after login successful, the content page will be displayed which is built on a master page.
Member
29 Points
284 Posts
Authenticate user with LDAP
May 14, 2012 01:53 PM|snailpace|LINK
I am new to LDAP, and i need help understanding how to authenticate a user when they login using their network username and password.
Also after authentication, how to bring back the full name and email of the user.
My application is developed in vb.net 2010 and sql server 2008. I have a login page and after login successful, the content page will be displayed which is built on a master page.
Any help will be appreciated
thanks
Participant
1021 Points
223 Posts
Re: Authenticate user with LDAP
May 16, 2012 12:51 AM|SonicMan|LINK
Hi
you can refer to http://www.codeproject.com/Articles/18742/Simple-Active-Directory-Authentication-Using-LDAP
Hope it helpful.
Member
29 Points
284 Posts
Re: Authenticate user with LDAP
May 17, 2012 11:42 AM|snailpace|LINK
This doesnt work!
Its always redirecting me to the homepage whether i enter correct credentials or wrong
any other links?
Star
9798 Points
987 Posts
Re: Authenticate user with LDAP
May 21, 2012 04:49 AM|Dino He - MSFT|LINK
Hi
You can refer to this link:
Building Secure ASP.NET Applications: Authentication, Authorization, and Secure Communication
Hope it helpful.
If you have any feedback about my replies, please contact msdnmg@microsoft.com
Microsoft One Code Framework
Member
29 Points
284 Posts
Re: Authenticate user with LDAP
May 21, 2012 12:57 PM|snailpace|LINK
Hi SonicMan, thanks for the link. I actually tried it one more time, and i did get the correct authentication. So this works and keeps it simple too.