0

我定义了一个对象类并想在我的organizationalUnit. 但是当我附上屏幕截图时,我在条目列表中看不到我的对象类(aibu-staff)。

在此处输入图像描述

当我尝试将 LDIF 文件导入 DIT 时,出现如下错误:

Error while importing LDIF
 - [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for     Add Request 
  javax.naming.OperationNotSupportedException: [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for     Add Request :
ClientEntry
    dn: cn=aibu, ou=schema
    objectclass: metaSchema
    objectclass: top
    cn: aibu
    m-dependencies: system
    m-dependencies: cosine
    m-dependencies: nis
    m-dependencies: inetorgperson
    m-dependencies: core
: Unwilling to perform operation on enabled schema with disabled or missing dependencies: nis]; remaining name 'cn=aibu, ou=schema'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3160)
    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.ImportLdifJob.importLdifRecord(ImportLdifJob.java:457)
    at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.importLdif(ImportLdifJob.java:267)
    at org.apache.directory.studio.ldapbrowser.core.jobs.ImportLdifJob.executeNotificationJob(ImportLdifJob.java:204)
    at org.apache.directory.studio.ldapbrowser.core.jobs.AbstractNotificationJob.executeAsyncJob(AbstractNotificationJob.java:43)
    at org.apache.directory.studio.ldapbrowser.core.jobs.AbstractEclipseJob.run(AbstractEclipseJob.java:101)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

  [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for     Add Request :
ClientEntry
    dn: cn=aibu, ou=schema
    objectclass: metaSchema
    objectclass: top
    cn: aibu
    m-dependencies: system
    m-dependencies: cosine
    m-dependencies: nis
    m-dependencies: inetorgperson
    m-dependencies: core
: Unwilling to perform operation on enabled schema with disabled or missing dependencies: nis]
4

2 回答 2

0

Windows has a poss-Superiors attribute that defines what kind of objects that can be the parent of an object. You might need to add organizational unit.

于 2012-12-01T20:16:11.010 回答
0

您需要刷新模式对象才能看到用户定义的对象。我总是能够毫无问题地做到这一点。(也以编程方式使用 JNDI)。

于 2012-12-03T22:22:55.160 回答