1


現在、Apache Directory Server を使用しています。私は LDAP の新入生です。
それについて数段落読んだ後、設計したい特定のケースに独自のツリーが必要であることに気付きました。参考までに、bubble.com というドメインを持っているとしましょう。dc=buble、dc=com の dc オブジェクトを作成したいと考えています。Apache Directory Studio を使用してそうしようとすると、次のエラーが発生します。

Error while creating entry
 - [LDAP: error code 32 - NO_SUCH_OBJECT: failed for     Add Request 
  javax.naming.NameNotFoundException: [LDAP: error code 32 - NO_SUCH_OBJECT: failed for         Add Request :
ClientEntry
    dn: dc=bubble+dc=com
    objectClass: dcObject
    objectClass: top
    dc: bubble
    dc: com
: ERR_268 Cannot find a partition for dc=bubble+dc=com]; remaining name 'dc=bubble+dc=com'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3112)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:3033)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2840)
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:811)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:337)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:266)
    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$4.run(JNDIConnectionWrapper.java:658)
    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.checkConnectionAndRunAndMonitor(JNDIConnectionWrapper.java:1203)
    at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.createEntry(JNDIConnectionWrapper.java:704)
    at org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.createEntry(CreateEntryRunnable.java:226)
    at org.apache.directory.studio.ldapbrowser.core.jobs.CreateEntryRunnable.run(CreateEntryRunnable.java:117)
    at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

  [LDAP: error code 32 - NO_SUCH_OBJECT: failed for     Add Request :
ClientEntry
    dn: dc=bubble+dc=com
    objectClass: dcObject
    objectClass: top
    dc: bubble
    dc: com
: ERR_268 Cannot find a partition for dc=bubble+dc=com]

正直なところ、何が起こっているのかよくわかりません。パーティションの考え方は何ですか?
そのような方法で独自のDCを作成することは可能ですか? それとも、すべてを ou=schema または ou=system に入れる必要がありますか?
デフォルトで ADS に存在する ou=schema と ou=system の目的は何ですか?

4

3 に答える 3

1

dc=bubble+dc=com多値相対識別名を持つ識別名であり、親はありません。DIT には、バックエンドによってホストされるsuffixまたはが必要であり、エントリをそのornamingContextの下位として追加できます。たとえば、.suffixnamingContextdc=bubble+dc=com,o=my-suffix

于 2012-02-16T13:41:13.637 に答える