2012-02-15 4 views
1


현재 Apache Directory Server로 작업 중입니다. 저는 LDAP에 신입생입니다.
그것에 대해 읽고 몇 단락 후 나는 내가 디자인하고 싶은 특별한 경우에 내 자신의 나무가 필요하다는 것을 알았다. 들어, 내가 어떤 도메인 bubble.com 있다고 가정 해 봅시다. 나는 dc = buble, dc = com을 위해 dc 객체를 만들고 싶다. Apache Directory Studio를 사용하여 그렇게하려고하면 다음 오류가 발생합니다.LDAP의 사용자 정의 트리

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] 

솔직히 말해서, 나는 실제로 무슨 일이 일어나는지 이해하지 못합니다. 파티션이란 무엇입니까?
그런 방식으로 자신의 직류를 생성 할 수 있습니까? 아니면 ou = schema 또는 ou = system에 모든 것을 넣어야합니까?
ou = schema 및 ou = system의 목적은 ADS에 기본적으로 있습니까?

답변

1

dc=bubble+dc=com은 다중 값 상대 고유 이름을 가진 고유 이름이며 상위는 없습니다. DIT는 백엔드가 호스트하는 suffix 또는 namingContext을 가져야하며 dc=bubble+dc=com,o=my-suffix과 같이 suffix 또는 namingContext의 하위 항목으로 항목을 추가 할 수 있습니다.

+0

DIT, 접미사 및 명명 컨텍스트 란 무엇입니까? Apache Directory Server의 문서는 정말 짜증나고 나는 모든 것을 맹목적으로하고 있습니다. – rivasket

+0

DIT = 디렉토리 정보 트리. 접미사 및 명명 컨텍스트는 백엔드에서 지원하는 최상위 이름에 대한 두 개의 이름입니다. 예를 들어 'ou = people, o = example'이라는 고유 이름에서, o = example'은 명명 컨텍스트 또는 접미어입니다. 부하 직원을 추가하려면 이것이 있어야합니다. –

+0

@Terry 나는 같은 문제를 겪고있다. 백엔드는 무엇을 의미합니까? 웹 컨텍스트를 의미합니까? – yapkm01

관련 문제