Return-Path: X-Original-To: apmail-directory-users-archive@www.apache.org Delivered-To: apmail-directory-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id DF45210A70 for ; Wed, 9 Apr 2014 12:56:39 +0000 (UTC) Received: (qmail 9481 invoked by uid 500); 9 Apr 2014 12:56:38 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 9298 invoked by uid 500); 9 Apr 2014 12:56:32 -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 Delivered-To: moderator for users@directory.apache.org Received: (qmail 93568 invoked by uid 99); 9 Apr 2014 12:50:15 -0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of fabrice@gmail.com designates 209.85.219.53 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=NocBFiyVz1lj42ChN5c11ew1UT48DpawrjXut44JvhU=; b=CVbpNplYMudE7vSg/8xi00Logppu1zGK77PhE+UNggPAfSNBsaHBIrKJwoaDEfJ/cQ jhXvXg9CcjPIJXqd5p0ykylkCNFVw42My5tqolfaHcwp5wqrk2oo21JtMT/1Fnh43TL1 ORb9M3ahjK17Gu/8OBlhEXsboRDrQjhhWwHiJSi8IFou0DdrQaHZhnaNToG+uyZ+TErL 3eDtzOJ8ATLnW2Tn0uNHZNrIydE29eHFItZ1DpVsPb9xZimlLtxPsSIOa0ljHfafAJj3 PeXe8gcDkKdKomDv6Q4NS1hfTJ4Qcjx6i66XZkUFYN7Gpo73ZiujDewQEgFjEaAOLoA9 zNgQ== X-Received: by 10.182.200.131 with SMTP id js3mr8750821obc.0.1397047789162; Wed, 09 Apr 2014 05:49:49 -0700 (PDT) MIME-Version: 1.0 From: Fabrice Aupert Date: Wed, 9 Apr 2014 14:49:28 +0200 Message-ID: Subject: Import custom schema from OpenLDAP To: users@directory.apache.org Content-Type: multipart/alternative; boundary=001a11c23aea3517b904f69b89a7 X-Virus-Checked: Checked by ClamAV on apache.org --001a11c23aea3517b904f69b89a7 Content-Type: text/plain; charset=ISO-8859-1 Hi, I'm trying to import a custom schema which used to live in an OpenLDAP server (v2.3). This schema has its own dn (dn: cn={12}myclient123,cn=schema,cn=config. I've installed ApacheDS 2.0.0_M16, configured a new partition, named myclient123 with a dc=myclient123,dc=net suffix. Schema-wise I've created a new entry under ou=schema : cn=myclient123,ou=schema (via ldapadd and an export from Apache Directory Studio/Schema Editor). That's about everything I've managed to achieve : - Apche Directory Studio : I've tried to export the OpenLDAP schema as LDIF file, then failed to import this file into ApacheDS (getting various errors, fixing, getting another error, etc) - Apche Directory Studio : create an offline schema, then import from OpenLDAP schema files > I've no idea how to generate those files from my OpenLDAP version which uses dynamic DB stuff - ldapmodify : I've generated a 'changetype: modify' kind of LDIF file from the OpenLDAP schema but when I try to import it into dn: cn=myclient123,ou=schema I get a nice 'modifying entry cn=myclient123,ou=schema modify complete' message followed by... a big disappointment : nothing is actually imported into ApacheDS (service restart done), not a single attributeType :) I'm kind of running out of ideas. I may be following the wrong paths as I'm king of new in the LDAP domain, any advice would be very welcome. Cheers. Fabrice --001a11c23aea3517b904f69b89a7--