[jira] Created: (DIRSERVER-803) Creating an alias from a child
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > Apache Server configuration support > Apache Directory Project > [jira] Created: (DIRSERVER-803) Creating an alias from a child




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    [jira] Created: (DIRSERVER-803) Creating an alias from a child  
Stefan Zoerner (JIRA)


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
12-21-06 06:11 PM

Creating an alias from a child entry to the ancestor causes an error (return
 code 36)
----------------------------------------------------------------------------
---------

Key: DIRSERVER-803
URL: http://issues.apache.org/jira/browse/DIRSERVER-803
Project: Directory ApacheDS
Issue Type: Bug
Affects Versions: 1.0
Environment: * ApacheDS 1.0.0
* Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
* Windows XP Professional SP2

Reporter: Stefan Zoerner
Priority: Minor


It fails to import the following two entries into ApacheDS 1.0 (default serv
er.xml).
The second entry is an alias to the first one, and is directly located below
 the first entry:

dn: ou=Singers,dc=example,dc=com
ou: Singers
objectclass: top
objectclass: organizationalUnit

dn:  ou=Songwriters,ou=Singers,dc=example,dc=
com
ou: Songwriters
objectclass: top
objectclass: organizationalUnit
objectclass: alias
aliasedobjectname: ou=Singers,dc=example,dc=com

Here is the result I got from an ldapmodify attempt:

$ ldapmodify -h localhost -p 10389 -D "uid=admin,ou=system" -w ****** -q -c 
-a -f aliasSingers.ldif
ldap_add: Unknown error
ldap_add: additional info: failed to add entry ou=Songwriters,ou=Singers,dc=
example,dc=com: [36] aliasDereferencingProblem - attempt to create alias
 with cycle to relative ou=Singers,dc=example,dc=com not allowed from descen
dent alias 2.5.4.11=songwriters
,2.5.4.11=singers,0.9.2342.19200300.100.1.25=example,0.9.2342.19200300.100.1
.25=com

It seems that ApacheDS does not allow to create an alias from a descendant. 
I tried the same with Tivoli Directory Server 6.0 and Sun Java System Direct
ory Server 5.2, both allowed this constellation.

Find attached a JNDI JUnit test which is able to cause the error by adding t
wo entries programmatically.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://iss
ues.apache.org/ji...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira








[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:45 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register