User Authentication Thru LDAP MS Active Directory

T

Thana

Hi ,

I am creating a user login page using ASP.NET 2.0 in C# to authenticate users thru LDAP MS Active Directory. Can anyone provide a sample in C# code for the user authentication ?. Thanks !.
 
J

Joe Kaplan

Why don't you use the ActiveDirectoryMembershipProvider? That's what it is
there for.

Ideally, you wouldn't use LDAP auth at all and would use IIS/Windows auth,
as LDAP auth is always a compromise, but you may not have a choice here.

Joe K.
 
P

Patrick.O.Ige

As Joe adviced..
Go to IIS >Website or Virtual Directory>Disable Anonyumous Access and enable
integrated Windows and add ur Active Directory and thats it
Patrick
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top