Apache Directory Project - [jira] Updated: (DIRSERVER-752) Alias Problem

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > October 2006 > [jira] Updated: (DIRSERVER-752) Alias Problem





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Updated: (DIRSERVER-752) Alias Problem
Stefan Zoerner (JIRA)

2006-10-01, 7:11 pm

[ http://issues.apache.org/jira/brows...ER-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/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com