用于Windows 8上的开发目的的LDAP服务器

Mik*_*liy 8 .net adam ldap adlds

我需要测试从我的应用程序到LDAP的连接.我需要一些我可以轻松安装的东西(首选是xcopy).

多年前,我正在使用Active Directory应用程序模式(ADAM)来实现此目的.但它在Windows 8上不受支持.给我有趣的错误消息:

You do not have permission to update Windows. Please contact your system administrator.
Run Code Online (Sandbox Code Playgroud)

现在,它看起来像Active Directory轻量级目录服务(AD LDS).但是又一次:

Installer encountered an error: 0x80096002
The certificate for the signer of the message is invalid or not found.
Run Code Online (Sandbox Code Playgroud)

所以有两个问题:

  1. 是否可以在Windows 8上使用AD LDS
  2. 还有其他选择吗?例如,快速搜索OpenLDAP.

Mik*_*liy 7

如果您使用的是Windows 8 Pro,则包含AD LDS.转到打开或关闭Windows功能,选择Active Directory轻量级目录服务.

您也可以使用powershell

Enable-WindowsOptionalFeature -Online -FeatureName DirectoryServices-ADAM-Client
Run Code Online (Sandbox Code Playgroud)


Mik*_*liy 2

我最终选择了OpenLDAP for Windows,只是因为它不需要任何依赖项。

我也将它添加到了 Chocolatey 中

cinst openldap
Run Code Online (Sandbox Code Playgroud)