Click here to Skip to main content
15,042,336 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:

I Need to do the user authentication in active directory of Linux server from web application. Please help if you have any sample for connecting to Linux Ldap.

Thanks in advance

With Regards,

Updated 16-Mar-11 19:47pm

1 solution

Your question doesn't make a lot of sense as Active Directory does not run on Linux if you have some sort of directory/user service running on Linux it would be something like OpenLDAP[^], if you are running Active Directory then that would be a Windows server and as you have an ASP.Net web site which would be running under IIS (Windows Web Sever) you could use Integrated Authentication[^], this option is best used on intranet sites not internet sites.

Try the Novell LDAP Library[^] it can be downloaded from here[^], if you want to connect to an LDAP server yourself.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900