Seke Kazuru created DIRSERVER-2427:
--------------------------------------

             Summary: ModifyDN accepts an alias entry as newSuperior and 
creates a subordinate of the alias
                 Key: DIRSERVER-2427
                 URL: https://issues.apache.org/jira/browse/DIRSERVER-2427
             Project: Directory ApacheDS
          Issue Type: Bug
    Affects Versions: 2.0.0.AM27
            Reporter: Seke Kazuru


Hi,

RFC 4512 section 2.6 (following X.501): an alias entry is a leaf and has no 
subordinates. RFC 4511 section 4.9: "The server SHALL NOT dereference any 
aliases in locating the objects named in entry or newSuperior."

Default instance (\{{dc=example,dc=com}}), bound as \{{uid=admin,ou=system}}:
{code}
add ou=pdt,dc=example,dc=com                                                    
 -> 0
add cn=pdal,dc=example,dc=com (alias, aliasedObjectName 
ou=pdt,dc=example,dc=com) -> 0
add ou=pdm,dc=example,dc=com                                                    
 -> 0
modifyDN ou=pdm,dc=example,dc=com newrdn ou=pdm newSuperior 
cn=pdal,dc=example,dc=com -> 0
onelevel search under cn=pdal,dc=example,dc=com                                 
 -> ou=pdm,cn=pdal,dc=example,dc=com
{code}
Expected: the ModifyDN fails (OpenLDAP 2.7 answers aliasProblem 33, "new 
superior is an alias"). An entry under an alias is unreachable for clients that 
dereference while searching.

Thanks.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to