Click here to Skip to main content
15,501,490 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I Need to do the user authentication in directory service of Linux server from web application. Please help if you have any sample for connecting to Linux Ldap.

I have used
DirectoryEntry entry = new DirectoryEntry("LDAP://ipaddress/ldap/htdocs/cn=xx,dc=xx,dc=xx", "cn=xx,dc=xx,dc=xx", "xxxx"); ERROR : Unknown Interop.COMService error
DirectoryEntry entry = new DirectoryEntry("LDAP://ipaddress/ldap/htdocs/cn=xx,dc=xx,dc=xx"); Error : This type of Authentication is not supported.

Please any one can help me?
Updated 19-Jul-11 10:16am

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