
|
If you were logged in you would be able to see more operations.
|
|
|
|
File Attachments:
|
|
|
Environment:
|
* ApacheDS 1.0.0
* Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
* Windows XP Professional SP2
* ApacheDS 1.0.0
* Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
* Windows XP Professional SP2
|
|
|
It fails to import the following two entries into ApacheDS 1.0 (default server.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 descendent 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 Directory Server 5.2, both allowed this constellation.
Find attached a JNDI JUnit test which is able to cause the error by adding two entries programmatically.
|
|
Description
|
It fails to import the following two entries into ApacheDS 1.0 (default server.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 descendent 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 Directory Server 5.2, both allowed this constellation.
Find attached a JNDI JUnit test which is able to cause the error by adding two entries programmatically. |
Show » |
made changes - 25/Jan/07 04:15 PM
|
Fix Version/s
|
|
1.5.0
[ 12310790
]
|
made changes - 23/Feb/07 08:35 PM
|
Assignee
|
|
Alex Karasulu
[ akarasulu
]
|
made changes - 20/Mar/07 10:16 PM
|
Affects Version/s
|
1.0
[ 12312043
]
|
|
|
Affects Version/s
|
|
1.5.1
[ 12310792
]
|
made changes - 20/Mar/07 10:19 PM
|
Fix Version/s
|
1.5.0
[ 12310790
]
|
|
|
Fix Version/s
|
|
1.5.1
[ 12310792
]
|
made changes - 25/Aug/07 08:44 PM
|
Affects Version/s
|
1.5.1
[ 12310792
]
|
|
|
Affects Version/s
|
|
1.5.2
[ 12310793
]
|
made changes - 26/Aug/07 11:43 PM
|
Affects Version/s
|
1.5.2
[ 12310793
]
|
|
|
Component/s
|
|
core
[ 12310713
]
|
|
Affects Version/s
|
|
1.5.1
[ 12310792
]
|
|
Affects Version/s
|
|
1.0.1
[ 12312091
]
|
|
Affects Version/s
|
|
1.0.2
[ 12312309
]
|
|
Affects Version/s
|
|
1.0
[ 12312043
]
|
|
Affects Version/s
|
|
1.5.0
[ 12310790
]
|
made changes - 26/Aug/07 11:44 PM
|
Fix Version/s
|
1.5.1
[ 12310792
]
|
|
|
Fix Version/s
|
|
1.5.2
[ 12310793
]
|
made changes - 02/Apr/08 11:05 PM
|
Fix Version/s
|
|
1.5.3
[ 12312693
]
|
|
Fix Version/s
|
1.5.2
[ 12310793
]
|
|
made changes - 19/Jun/08 02:50 AM
|
Fix Version/s
|
1.5.3
[ 12312693
]
|
|
|
Fix Version/s
|
|
1.5.4
[ 12313147
]
|
made changes - 27/Aug/08 07:53 PM
|
Fix Version/s
|
|
1.5.5
[ 12313148
]
|
|
Fix Version/s
|
1.5.4
[ 12313147
]
|
|
|
Priority
|
Minor
[ 4
]
|
Major
[ 3
]
|
made changes - 15/Aug/09 08:56 AM
|
Fix Version/s
|
1.5.5
[ 12313148
]
|
|
|
Fix Version/s
|
|
2.0.0-RC1
[ 12313387
]
|
|