使用c#连接到LDAP服务器 [英] Connect to LDAP server using c#
本文介绍了使用c#连接到LDAP服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试测试与LDAP服务器的连接,但我没有成功。我正在使用
主机:ldap.umich.edu
用户:cn =目录管理员,o =密歇根大学,c = us
密码不存在。
我使用第三方工具如userbooster和apache目录工作室连接此主机,但没有以编程方式连接。
任何人都可以告诉如何连接。
解决方案
参考:
如何:连接到LDAP服务器 [ ^ ]
-本主题提供了如何连接到LDAP服务器。
另请查看: LdapConnection类 [ ^ ]
参考类似的问答:如何使用ASP.NET(c#)连接LDAP服务器 [ ^ ]
Hi,
I am trying to test the connectivity with the LDAP server but I didn't succeed. I am using
host : ldap.umich.edu
user : cn=Directory Manager,o=University of Michigan,c=us
password is not there.
I connect with this host using third party tool like userbooster and apache directory studio but didn't programmatically.
Can anyone tell how to connect.
解决方案
Refer:
How To: Connect to an LDAP Server[^]
-This topic provides an example of how to connect to an LDAP server.
Also have a look on: LdapConnection Class[^]
Refer similar QA: How to Connect LDAP server Using ASP.NET (c#)[^]
这篇关于使用c#连接到LDAP服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文