简体   繁体   English

如何构建与活动目录相同架构的 ldap 服务器

[英]How to build a ldap server that is same schema as active directory

I want to build a stub server using apacheds that has same schema as active directory.我想使用与活动目录具有相同架构的 apacheds 构建存根服务器。

We need to add custom attribute like: userAccountControl, unicodePwd, ..etc.我们需要添加自定义属性,例如:userAccountControl、unicodePwd、..etc。

I have no idea how to add this to the default schema programmatically.我不知道如何以编程方式将其添加到默认架构中。 Any idea?任何的想法?

apacheds version 2.0.0-M10 apacheds 版本 2.0.0-M10

Thanks!谢谢!

Use Apache DS Studio to define your own schema.使用 Apache DS Studio 定义您自己的架构。 You can use attributes and object classes from core, cosine or other schemas.您可以使用核心、余弦或其他模式中的属性和对象类。 Actually you can take MS AD schema and define the required object classes and attributes.实际上,您可以采用 MS AD 架构并定义所需的对象类和属性。

You probably will not be able to import AD schema directly in Apache DS as the formats would vary (even if they are both in LDIF), however, you can create the same classes and attributes in Apache DS schema (I recommend using different OIDs than MS).您可能无法直接在 Apache DS 中导入 AD 架构,因为格式会有所不同(即使它们都在 LDIF 中),但是,您可以在 Apache DS 架构中创建相同的类和属性(我建议使用不同的 OID多发性硬化症)。

You can then import the schema LDIF to Apache DS.然后,您可以将模式 LDIF 导入 Apache DS。

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

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