[ 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