Return-Path: Delivered-To: apmail-directory-users-archive@www.apache.org Received: (qmail 81883 invoked from network); 13 Apr 2011 06:08:12 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 13 Apr 2011 06:08:12 -0000 Received: (qmail 52227 invoked by uid 500); 13 Apr 2011 06:08:11 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 52173 invoked by uid 500); 13 Apr 2011 06:08:10 -0000 Mailing-List: contact users-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@directory.apache.org Delivered-To: mailing list users@directory.apache.org Received: (qmail 52157 invoked by uid 99); 13 Apr 2011 06:08:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 06:08:09 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: local policy) Received: from [84.19.190.9] (HELO mail.hojnik.de) (84.19.190.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Apr 2011 06:08:01 +0000 Received: from localhost (p4FF859D0.dip.t-dialin.net [79.248.89.208]) by mail.hojnik.de (Postfix) with ESMTP id A7595A02A3; Wed, 13 Apr 2011 06:50:21 +0200 (CEST) Content-Type: text/plain; charset=utf-8; format=flowed; delsp=yes To: users@directory.apache.org, "Kiran Ayyagari" Subject: Re: [ApacheDS] Unable to import qmail.schema converted from OpenLDAP with Apache DS Studio [Solved] References: Date: Wed, 13 Apr 2011 08:07:39 +0200 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: "Darko Hojnik" Message-ID: In-Reply-To: User-Agent: Opera Mail/11.01 (Linux) Many thanks it's working :) Am 13.04.2011, 07:57 Uhr, schrieb Kiran Ayyagari : > On Wed, Apr 13, 2011 at 10:12 AM, Darko Hojnik > wrote: >> Hi there, >> >> In Apache Directory Studio I've created a new project and imported the >> qmail.schema for OpenLDAP. After them I've exported it as an schema for >> Apache DS in the ldif format. But if I will do import this ldif, I got >> this error >> >> >> Fehler beim LDIF Importieren >> - [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=qmail, ou=schema >> objectclass: metaSchema >> objectclass: top >> cn: qmail >> m-dependencies: system >> m-dependencies: nis >> m-dependencies: core >> : Unwilling to perform operation on enabled schema with disabled or >> missing dependencies: nis]; remaining name 'cn=qmail, ou=schema' >> at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:3105) >> at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2978) >> at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2785) >> at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:801) >> 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:54) >> >> [LDAP: error code 53 - UNWILLING_TO_PERFORM: failed for Add Request >> : >> ClientEntry >> dn: cn=qmail, ou=schema >> objectclass: metaSchema >> objectclass: top >> cn: qmail >> m-dependencies: system >> m-dependencies: nis >> m-dependencies: core >> : Unwilling to perform operation on enabled schema with disabled or >> missing dependencies: nis] >> >> In the Schema Project I've used the NIS Schema from Apache DS. And on >> the >> NIS Schema in Apache DS is loaded. So now I'm really confused about the >> missing dependency. As an attachment the qmail.ldif. Can anyone tell me >> what I'm doing wrong? > > set the m-disabled attribute's value of nis schema is set to FALSE > before loading the qmail schema, this should solve the problem >> >> kind regards >> Darko Hojnik >> > >