Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 60253 invoked from network); 21 Aug 2009 16:18:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 21 Aug 2009 16:18:14 -0000 Received: (qmail 4963 invoked by uid 500); 21 Aug 2009 16:18:36 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 4890 invoked by uid 500); 21 Aug 2009 16:18:36 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 4882 invoked by uid 99); 21 Aug 2009 16:18:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 16:18:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 21 Aug 2009 16:18:34 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id C823E234C004 for ; Fri, 21 Aug 2009 09:18:14 -0700 (PDT) Message-ID: <1614725785.1250871494808.JavaMail.jira@brutus> Date: Fri, 21 Aug 2009 09:18:14 -0700 (PDT) From: "Quanah Gibson-Mount (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRSTUDIO-513) Do delete before add when modifying attribute values In-Reply-To: <960974446.1249565835041.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DIRSTUDIO-513?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746053#action_12746053 ] Quanah Gibson-Mount commented on DIRSTUDIO-513: ----------------------------------------------- Stefan, I think the problem is more that some people choose to hide their schema from being read out of the subschema entry, which is a perfectly valid thing to do. So any well written LDAP client needs to be able to work with the fact that the schema may or may not be browsable. There is even some security suite out there that "warns" people that exposing the subschema entry is a security risk. Not that I agree with it. ;) > Do delete before add when modifying attribute values > ---------------------------------------------------- > > Key: DIRSTUDIO-513 > URL: https://issues.apache.org/jira/browse/DIRSTUDIO-513 > Project: Directory Studio > Issue Type: Improvement > Affects Versions: 1.4.0 > Reporter: Martin Alderson > Priority: Minor > > When connecting to Novell eDirectory and modifying the schema an "Attribute Or Value Exists" error occurs. This is due to the modification performing an add before the delete and eDirectory (wrongly) complains that the same OID has been used more than once before realising that the old value should be deleted. Note that this is a problem with eDirectory but it would be useful if Studio asked for the delete to be performed before the add when modifying an attribute value which eDirectory is OK with. > An example of the LDIF in the modifications logs view for an operation that fails is: > dn: cn=schema > changetype: modify > add: objectClasses > objectClasses: ( 2.16.840.1.113730.3.2.2 NAME 'inetOrgPerson' [...new value...] > - > delete: objectClasses > objectClasses: ( 2.16.840.1.113730.3.2.2 NAME 'inetOrgPerson' [...old value...] > - > It also seems that modifying the schema on ApacheDS has the same issue. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.