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.
snailpace
Member
31 Points
285 Posts
Authenticate user with LDAP
May 14, 2012 05:53 PM|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
SonicMan
Participant
1472 Points
228 Posts
Re: Authenticate user with LDAP
May 16, 2012 04:51 AM|LINK
Hi
you can refer to http://www.codeproject.com/Articles/18742/Simple-Active-Directory-Authentication-Using-LDAP
Hope it helpful.
snailpace
Member
31 Points
285 Posts
Re: Authenticate user with LDAP
May 17, 2012 03:42 PM|LINK
This doesnt work!
Its always redirecting me to the homepage whether i enter correct credentials or wrong
any other links?
Dino He - MS...
Star
8068 Points
1023 Posts
Microsoft
Re: Authenticate user with LDAP
May 21, 2012 08:49 AM|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
snailpace
Member
31 Points
285 Posts
Re: Authenticate user with LDAP
May 21, 2012 04:57 PM|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.