免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3049 | 回复: 1

[ldap] Sun JES Directory Server在创建subSuffix时是否会自动指定其parentSuffix? [复制链接]

论坛徽章:
0
发表于 2007-11-11 22:38 |显示全部楼层

  1. If required, create the sub-suffix:

  2.     $ dsconf create-suffix -h host -p port subSuffix-DN

  3. then attach the sub-suffix to the root  suffix.

  4.     $ dsconf set-suffix-prop -h host -p port subSuffix-DN parent-suffix-dn:parentSuffix-DN

  5. 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.

  6. For example, to create the sub-suffix ou=Contractors,dc=example,dc=com, and to attach the sub-suffix to the root suffix, type:

  7.     $ dsconf create-suffix -h host1 -p 1389 ou=Contractors,dc=example,dc=com

  8.     $ 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:
  1. $ 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 编辑 ]

论坛徽章:
0
发表于 2007-11-19 23:26 |显示全部楼层
召唤达人...
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP