Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 22078 invoked from network); 3 Dec 2006 18:18:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 3 Dec 2006 18:18:47 -0000 Received: (qmail 79027 invoked by uid 500); 3 Dec 2006 18:18:50 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 78979 invoked by uid 500); 3 Dec 2006 18:18:50 -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 78968 invoked by uid 99); 3 Dec 2006 18:18:50 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 10:18:50 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 03 Dec 2006 10:18:41 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 09410714316 for ; Sun, 3 Dec 2006 10:18:21 -0800 (PST) Message-ID: <28832962.1165169901035.JavaMail.jira@brutus> Date: Sun, 3 Dec 2006 10:18:21 -0800 (PST) From: "Stefan Seelmann (JIRA)" To: dev@directory.apache.org Subject: [jira] Created: (DIRSERVER-791) Some issues regarding attribute modification MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Some issues regarding attribute modification -------------------------------------------- Key: DIRSERVER-791 URL: http://issues.apache.org/jira/browse/DIRSERVER-791 Project: Directory ApacheDS Issue Type: Bug Affects Versions: 1.0 Environment: LDIF tested with ELBE import and ldapmodify command line tool. Reporter: Stefan Seelmann There are some issues regarding attribute modification: This entry is used to start: # dn: cn=test,dc=example,dc=com changetype: add objectclass: inetOrgPerson objectclass: organizationalPerson objectclass: person objectclass: top cn: test cn: aaa sn: test # 1.) Removal of a value from RDN attribute which is not part of the RDN is not possible # dn: cn=test,dc=example,dc=com changetype: modify delete: cn cn: aaa - # However replacing works: # dn: cn=test,dc=example,dc=com changetype: modify replace: cn cn: test - # 2.) It is possible to add an value to objectclass, which isn't a valid objectclass. The server returns an error, but nevertheless the invalid value is stored. I think this should be rejected from server. # dn: cn=test,dc=example,dc=com changetype: modify add: objectclass objectclass: test - # 3.) It is possible to add an attribute to the entry that is not allowed according the objectclasses. The server should reject this. # dn: cn=test,dc=example,dc=com changetype: modify add: bootParameter bootParameter: test - # -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira