|
[
Permlink
| « Hide
]
Stefan Zoerner added a comment - 30/Sep/06 11:30 AM
Type "Test" is not appropriate here, I have modified it to "Bug", because the user reported an error he gets.
The information the reporter provieded is not sufficient to help. At least a JNDI source code fragment is needed (what exactly has been tried to create an alias), and a stack trace would be helpful as well.
ApacheDS does support alias entries, btw. 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. Committed revision 451847 for 1.0 here:
http://svn.apache.org/viewvc?view=rev&revision=451847 Committed revision 451848 for 1.1 here: http://svn.apache.org/viewvc?view=rev&revision=451848 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||