Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 5137 invoked from network); 1 Oct 2006 18:28:27 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 1 Oct 2006 18:28:27 -0000 Received: (qmail 91615 invoked by uid 500); 1 Oct 2006 18:28:27 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 91393 invoked by uid 500); 1 Oct 2006 18:28:26 -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 91382 invoked by uid 99); 1 Oct 2006 18:28:26 -0000 Received: from idunn.apache.osuosl.org (HELO idunn.apache.osuosl.org) (140.211.166.84) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 01 Oct 2006 11:28:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests= Received: from [209.237.227.198] ([209.237.227.198:45646] helo=brutus.apache.org) by idunn.apache.osuosl.org (ecelerity 2.1.1.8 r(12930)) with ESMTP id E6/D1-05102-AC800254 for ; Sun, 01 Oct 2006 11:28:26 -0700 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8D3007142E1 for ; Sun, 1 Oct 2006 11:28:20 -0700 (PDT) Message-ID: <12816055.1159727300575.JavaMail.root@brutus> Date: Sun, 1 Oct 2006 11:28:20 -0700 (PDT) From: "Stefan Zoerner (JIRA)" To: dev@directory.apache.org Subject: [jira] Updated: (DIRSERVER-752) Alias Problem In-Reply-To: <26298937.1159548679572.JavaMail.root@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRSERVER-752?page=all ] Stefan Zoerner updated DIRSERVER-752: ------------------------------------- Attachment: AddAliasTest.java Here is a JUnit test, which tries to add the following to the directory (below dc=example,dc=com). It fails on ApacheDS 1.0 RC4. --- dn: ou=favorite,dc=example,dc=com ou: favorite objectclass: organizationalUnit objectclass: top dn: ou=bestFruit,dc=example,dc=com aliasedobjectname: ou=favorite,dc=example,dc=com ou: bestFruit objectclass: alias objectclass: top --- The test contains two cases. testAddAlias succeeds in adding both entries, but the deletion afterwards fails. testAddAliasInContainer creates a container entry below the suffix and tries to add the entry and the alias within this container. Here, already the creation of the alias fails. Both test cases pass IBM Tivoli Directory Server 6.0, but fail on OpenLDAP and Sun Java System Directory Server due to Schema vialations. Thus, I am not sure whether the test is valid. > Alias Problem > ------------- > > Key: DIRSERVER-752 > URL: http://issues.apache.org/jira/browse/DIRSERVER-752 > Project: Directory ApacheDS > Issue Type: Bug > Environment: windows XP > Reporter: mbah tenjoh-okwen > Attachments: AddAliasTest.java > > > hello > I would like to know if apacheDS supports aliasing and if so what do I need to do in other to add a > sub context of object class type "alias". Each time I try to add one I get an error report. I use JNDI and so the error i get is of type javax.naming.NamingException . > I will appreciate your help > thanks -- 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