directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Stefan Seelmann (JIRA)" <j...@apache.org>
Subject [jira] Closed: (DIRSERVER-1401) Infinite loop on moddn, when moving an entry below itself
Date Wed, 26 May 2010 18:12:40 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-1401?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Stefan Seelmann closed DIRSERVER-1401.
--------------------------------------


> Infinite loop on moddn, when moving an entry below itself
> ---------------------------------------------------------
>
>                 Key: DIRSERVER-1401
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1401
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: ldap
>    Affects Versions: 1.5.5, 1.5.4
>            Reporter: Stefan Seelmann
>            Assignee: Kiran Ayyagari
>            Priority: Critical
>             Fix For: 1.5.6
>
>
> Running the following LDIF causes an infinite loop (100% CPU of the ApacheDS process),
the client waits for response. The two entries are created, the moddn operation then hangs.
> -------------------------------------------------------------------------------
> # create parent entry
> dn: ou=parent,dc=example,dc=com
> changetype: add
> objectClass: organizationalUnit
> objectClass: top
> ou: parent
> # create child entry
> dn: ou=child,ou=parent,dc=example,dc=com
> changetype: add
> objectClass: organizationalUnit
> objectClass: top
> ou: child
> # now do something bad: make the parent a child of its own child
> dn: ou=parent,dc=example,dc=com
> changetype: moddn
> newrdn: ou=parent
> deleteoldrdn: 1
> newsuperior: ou=child,ou=parent,dc=example,dc=com
> -------------------------------------------------------------------------------
> I'd expect an error, OpenLDAP for example returns "error code 53 - cannot place an entry
below itself"
> Another problem: When I kill the server and start it again, the two inserted entries
are not visible studio, but when trying to add them I get an "error code 68 - ENTRY_ALREADY_EXISTS".
Seems loke the indices got corrupted.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message