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 C1DF918C21 for ; Sun, 9 Aug 2015 05:19:49 +0000 (UTC) Received: (qmail 30987 invoked by uid 500); 9 Aug 2015 05:19:49 -0000 Delivered-To: apmail-directory-users-archive@directory.apache.org Received: (qmail 30941 invoked by uid 500); 9 Aug 2015 05:19:49 -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 55531 invoked by uid 99); 9 Aug 2015 00:23:19 -0000 X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.109 X-Spam-Level: X-Spam-Status: No, score=-1.109 tagged_above=-999 required=6.31 tests=[RCVD_IN_MSPIKE_H2=-1.108, SPF_PASS=-0.001] autolearn=disabled X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-09_01:2015-08-07,2015-08-08,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508090003 Content-type: text/plain; charset=utf-8 MIME-version: 1.0 (1.0) Subject: Re: Failed to Import LDIF files about updated Schemas to Apache DS through Studio From: Andreas Schaefer X-Mailer: iPhone Mail (12H143) In-reply-to: <55C68471.9090904@gmail.com> Date: Sat, 08 Aug 2015 17:19:49 -0700 Content-transfer-encoding: quoted-printable Message-id: <78CDBA48-BC9B-4276-8BB5-6E60BE12D111@mac.com> References: <111A5D98-B6AA-46C2-B4F3-57878A909C2B@me.com> <55C68471.9090904@gmail.com> To: "users@directory.apache.org" Of course this entry already exists because I wanted to update an object cla= ss. How would I delete an object from a schema? - Andy Schaefer > On Aug 8, 2015, at 3:36 PM, Emmanuel L=C3=A9charny w= rote: >=20 > Le 09/08/15 00:09, Andreas Schaefer Sr. a =C3=A9crit : >> Hi >>=20 >> First I want to thanks Apache Directory team for this great app. >>=20 >> I wanted to use the Apache Directory Studio to create a Test LDAP server f= or testing user authentication. For that I need to update the existing schem= a in Apache DS. >>=20 >> When I tried to do that I ran into issues where I could not update an exi= sting entry but could create new ones. This is what I did: >>=20 >> 1) Create a new schema >> 2) Create a new Attirbute Type and Object Class adding the new Attribute T= ype as optional attribute and make the Object Class (person2) by a sub type o= f Person from Core >> 3) Export as LDIF >> 4) Import to the embedded ApacheDS server as LDIF file (update existing e= ntries checked) >> 5) Worked even though got some errors >> 6) Created new Attribute Types and added them to the person2 as optional a= ttributes >> 7) Exported as LDIF and then imported to the Apache DS server as LDIF >> 8) Created the new Attribute Types but failed to modify the Object Type p= erson2 (see the Error from the log at the end) >>=20 >> Questions: >> - Is that the right approach? >> - I found this ticket: https://issues.apache.org/jira/browse/DIRSTUDIO-80= 8. Is that a regression in M9? I downloaded and tried the same thing with M4= and it failed as well. >=20 > You had this error : Oid 1.0.0.111.1.1 for new schema entity is not unique= >=20 > Which means you already have an element with this OID. Each schema > element must have its own OID. Blind guess : your first import alreadyd > efines this OID. Either you delete it, or you change the OID. >=20