Uploaded image for project: 'Directory ApacheDS'
  1. Directory ApacheDS
  2. DIRSERVER-697

valid ModifyDN operations fail with resultcode 32

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.0-RC4
    • 1.0-RC4, 1.5.0
    • None
    • None
    •     * ApacheDS 1.0 RC4 SNAPSHOT
          * Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_07-b03)
          * Windows XP Professional SP2

    Description

      The current 1.0 branch contains an error which causes valid modifyDN operations to fail with result code 32 (NO_SUCH_OBJECT). Here is an example:
      I use the server.xml unchanged and add an entry (tori.ldif) like this:

      dn: cn=Myra Ellen Amos,dc=example,dc=com
      objectclass: top
      objectclass: person
      sn: Amos
      cn: Myra Ellen Amos

      via a
      $ ldapmodify -D "uid=admin,ou=system" -w secret -a -f tori.ldif
      adding new entry cn=Myra Ellen Amos,dc=example,dc=com

      afterwards I try to change it, via modifyTori.ldif:

      dn: cn=Myra Ellen Amos,dc=example,dc=com
      changetype: modrdn
      newrdn: cn=Tori Amos
      deleteoldrdn: 1

      applied:

      $ ldapmodify -D "uid=admin,ou=system" -w secret -f modifyTori.ldif
      modifying RDN of entry cn=Myra Ellen Amos,dc=example,dc=com
      ldap_rename: No such object
      ldap_rename: additional info: failed to modify DN of entry cn=Myra Ellen Amos,dc=example,dc=com
      $

      Appropriate test cases are in the org.apache.directory.server.ModifyRdnTest of the server-unit project, some of them currently (snapshot from August 4) fails (which is good).

      Attachments

        Activity

          People

            akarasulu Alex Karasulu
            szoerner Stefan Zoerner
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: