Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
简单地说,问题
我有一段代码目前正在处理 Windows Active Directory 的实例。现在为了测试我想使用另一个具有相同层次结构和相同数据的 LDAP 服务器。我有一个正在运行的开放 ldap 本地实例。有没有办法可以轻松复制它?
实际上,如果您想测试 Active-Directory 的内容,最好的方法是安装 Active-Directory 应用程序模式 (ADAM)。它是 Microsoft 的免费产品,您可以轻松地复制您的 AD Schema 和您的数据。ADAM 以 lightweigt Active Directory (LDS) 的名义存在于 W2K8 下。
你可以用 openldap 来做,但你必须翻译模式,然后使用 LDIF 导出/导入你的数据。