- 论坛徽章:
- 0
|
- If required, create the sub-suffix:
- $ dsconf create-suffix -h host -p port subSuffix-DN
- then attach the sub-suffix to the root suffix.
- $ dsconf set-suffix-prop -h host -p port subSuffix-DN parent-suffix-dn:parentSuffix-DN
- where parentSuffix-DN must have the same value as suffix-DN in the previous step. The suffix-DN for the sub-suffix includes the relative distinguished name (RDN) of the sub-suffix and the DN of its parent suffix.
- For example, to create the sub-suffix ou=Contractors,dc=example,dc=com, and to attach the sub-suffix to the root suffix, type:
- $ dsconf create-suffix -h host1 -p 1389 ou=Contractors,dc=example,dc=com
- $ dsconf set-suffix-prop -h host1 -p 1389 ou=Contractors,dc=example,dc=com parent-suffix-dn:dc=example,dc=com
复制代码
以上是从Sun Java Enterprise System :Directory Server 6.2的文档中摘录的一段话,说create subSuffix后还要通过如下命令来attach到root suffix:
- $ dsconf set-suffix-prop -h host -p port subSuffix-DN parent-suffix-dn:parentSuffix-DN
复制代码
但我在使用命令行dcconf创建subSuffix(比如ou=Contractors,dc=example,dc=com)后,并未对其parent-suffix-dn做任何修改,它的parentSuffix-DN就已经是dc=example,dc=com了。也就是说,它会自动通过subSuffix的dn来识别并创建parent-suffix-dn。这样也就不需要我们来手动指定了。
以上是我的猜测,请熟悉该系统的兄弟帮忙确认一下,谢谢!
[ 本帖最后由 o00o 于 2007-11-11 22:40 编辑 ] |
|