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


Top 5 Contributors of the Month
david stephan

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.

Regards
Sunita

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

show here useful link

http://geekswithblogs.net/lance/archive/2005/08/19/LdapAuthenticationASP.aspx

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

Lalit.
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.
or

write password in web config
<section name="roleService" type="System.Web.Configuration.ScriptingRoleServiceSection, System.Web.Extensions, Version=3.5.0.0, 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"/>
</appSettings>
<connectionStrings/>
-------------------------------------------------------------------
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

Regards
Sunita



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
JavaScript/VBScriptBiztalkWPFPatten/PracticesWCFOthers
www.DotNetSpark.comUnAnsweredAll

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