.NET Tutorials, Forums, Interview Questions And Answers
Welcome :Guest
Sign In
Win Surprise Gifts!!!

Home >> Forum >> .NET Framework >> Post New QuestionBookmark and Share Subscribe to Forum

How to validate Username and password in LDAP

Posted By: Sunita     Posted Date: February 02, 2010    Points:2   Category :.NET Framework
How to validate Username and password in LDAP in asp.net. I have Username and Password Textbox where user will enter the credentials and it has to validate with LDAP.


Author: Lalij Mer             
Posted Date: February 02, 2010     Points: 5   

show here useful link


Please Check my answer if you help....
Thank You...

Author: Sagar Pardeshi             
Posted Date: February 02, 2010     Points: 5   

Hi sunita.

i have send ldap code project using ldap send me ur mail id.

write password in web config
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=, Culture=neutral, PublicKeyToken=31BF3856AD364E35" requirePermission="false" allowDefinition="MachineToApplication"/></sectionGroup></sectionGroup></sectionGroup></configSections><appSettings>
<add key="Domain" value="domain.com"/>
<add key="ADPAth" value="LDAP:domain//"/>
<add key="ADUser" value="administrator"/>
<add key="ADPassword" value="abc@123"/>
<add key="ADUsersPath" value=""/>
<add key="ADGrp" value="ADMINGROUP"/>
<add key="ADRight" value="ADMINISTRATORS"/>
<add key="PassExpDays" value="42"/>
Note :-send me ur id as u possible i send u code project .

Author: Sunita             
Posted Date: February 04, 2010     Points: 5   

Hi Lalit..The like does not contain the code.

Hi Sagar..I need the code in C# my mail id is sunita.p55@gmail.com


Post Reply

You must Sign In To post reply
Find more Forum Questions on C#, ASP.Net, Vb.Net, SQL Server and more Here
Quick Links For Forum Categories:
ASP.NetWindows Application  .NET Framework  C#  VB.Net  ADO.Net  
Sql Server  SharePoint  OOPs  SilverlightIISJQuery

Hall of Fame    Twitter   Terms of Service    Privacy Policy    Contact Us    Archives   Tell A Friend