Connecting to LDAP from C# using DirectoryServices

后端 未结 6 2021
-上瘾入骨i
-上瘾入骨i 2020-12-03 02:14

I am trying to connect to an edirectory 8.8 server running LDAP. How would I go about doing that in .Net? Can I still use the classes in System.DirectoryService such as Dire

6条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-03 02:19

    Depending ont he directory server configuration, you might actually need to use the System.DirectoryServices.Protocols namespace. I wrote up a post on connecting to OpenLDAP with it.

    http://mikemstech.blogspot.com/2013/03/searching-non-microsoft-ldap.html

提交回复
热议问题