简体   繁体   English

开源LDAP C#(活动目录)

[英]Opensource LDAP C# (active directory)

At work we use Active Directory. 在工作中,我们使用Active Directory。

Active Directory (AD) is a directory service that Microsoft developed for Windows domain networks. Active Directory(AD)是Microsoft为Windows域网络开发的目录服务。 It is included in most Windows Server operating systems as a set of processes and services. 它作为大多数进程和服务包含在大多数Windows Server操作系统中。 Initially, Active Directory was only in charge of centralized domain management. 最初,Active Directory仅负责集中式域管理。 Starting with Windows Server 2008, however, Active Directory became an umbrella title for a broad range of directory-based identity-related services.( source ) 与Windows Server 2008开始,但是,Active Directory成为一个广泛的基于目录的身份相关的服务雨伞称号。( 来源

My first goal is to create a small lightweight windows forms application to search on firstname and lastname , using only parts of the name. 我的首要目标是创建一个小的轻量级Windows窗体应用程序,以仅使用名称的一部分来搜索firstnamelastname

Context: I like some functionalities of this tool . 上下文:我喜欢此工具的某些功能。 But it is not open source. 但这不是开源的。 And I need to make changes. 而且我需要进行更改。 And since StackOverflow does not encourage reverse engineering, I would rather write my own software ;-) 而且由于StackOverflow不鼓励进行逆向工程,所以我宁愿编写自己的软件;-)

Being a Microsoft .NET developer, I started looking for Microsoft .NET libraries: Which are they? 作为Microsoft .NET开发人员,我开始寻找Microsoft .NET库:它们是什么? Is this it? 这个 Or is this it? 还是这个 I can't seem to find any really useful tutorials or easy to use API documentation. 我似乎找不到任何真正有用的教程或易于使用的API文档。

I have read this: Using LDAP and Active Directory with C# 101 Which shares this . 我已阅读以下内容: 将LDAP和Active Directory与共享此代码的 C#101一起使用 But that is basically nothing much. 但这基本上没什么。

Hence my question: Do you know whether there is open source C# code available for download? 因此,我的问题是: 您是否知道有开放的C#代码可供下载? Which supports connecting to active directory, and performing LDAP operations? 哪些支持连接到活动目录并执行LDAP操作?

Novell is a software company providing a similar but competitive directory, and they seem to provide excellent documentation about their 'LDAP Libraries for C sharp' This got me wondering: Could this be used to connect to 'Establish an LDAP Connection' and 'Perform LDAP Operations and Obtain Results' on Active Directory? Novell是一家软件公司,提供相似但具有竞争力的目录,并且他们似乎提供了有关“ C Sharp的LDAP库”的出色文档这让我感到困惑: 是否可以将其用于连接到“建立LDAP连接”和“执行LDAP”操作并在Active Directory上获得结果? Or should I just use Microsoft code? 还是应该只使用Microsoft代码? Considering AD is a directory services database, and LDAP (Lightweight Directory Access Protocol) is one of the protocols you can use to talk to it. 考虑到AD是目录服务数据库,而LDAP (轻型目录访问协议)是您可以用来与之对话的协议之一。 It should be possible right? 应该有可能吧?

Please share your knowledge and experience with me. 请与我分享您的知识和经验。 I am total n00b when it comes to AD. 在广告方面,我总计n00b。 I promise: once you get me started, I will share my beautiful code with you all. 我保证:一旦您开始使用,我将与大家分享我美丽的代码。

您可以尝试使用这种基于Novell的存储库。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM