我需要测试从我的应用程序到LDAP的连接.我需要一些我可以轻松安装的东西(首选是xcopy).
多年前我用Active Directory Application Mode (ADAM)就是为了这个目的.但它在Windows 8上不受支持.给我有趣的错误消息:
You do not have permission to update Windows. Please contact your system administrator.
现在,它看起来像Active Directory Lightweight Directory Services (AD LDS).但是又一次:
Installer encountered an error: 0x80096002 The certificate for the signer of the message is invalid or not found.
所以有两个问题:
>是否可以在Windows 8上使用AD LDS
>还有其他选择吗?例如,快速搜索给出了OpenLDAP.
如果您使用的是Windows 8 Pro,则包含AD LDS.
转到打开或关闭Windows功能,选择Active Directory轻量级目录服务.
转到打开或关闭Windows功能,选择Active Directory轻量级目录服务.
您也可以使用powershell
Enable-WindowsOptionalFeature -Online -FeatureName DirectoryServices-Adam-Client