C# webpage Login authentication via LDAP

29,589

Solution 1

check these two links, LDAP is using the active directly to authenticate users.

http://msdn.microsoft.com/en-us/library/ff649227.aspx

http://www.codeproject.com/Articles/18742/Simple-Active-Directory-Authentication-Using-LDAP

Solution 2

Are you using the ASP.NET Membership Provider? There's an ActiveDirectoryMembershipProvider that can handle authentication to Active Directory. I'm not sure if it'll work with a pure LDAP server, or if you are using AD, but this might get you started in the right direction.

Share:
29,589
Fernando
Author by

Fernando

Updated on September 25, 2020

Comments

  • Fernando
    Fernando over 3 years

    An employee of a company logs into the company webpage using a company LDAP username and password. I don't have an idea how to create it.

    Please give me an idea and code sample for creating this using asp.net with c#.

    please help me...