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

One an entry is deleted or marked as deleted another entry with the same DN cannot be added.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.5.0
    • replication
    • None

    Description

      There might not be any way to handle this specific issue. Might be an oversight in the design. However a solution is simple I think. We just need to really delete the entry marked for deletion and add the new entry with the same dn in it's place.

      Here's the error I get from the server when trying to add the entry after having deleted it:

      Root error: [LDAP: error code 68 - failed to add entry ou=neworganizationalUnit,dc=example,dc=com: 2.5.4.11=neworganizationalunit,0.9.2342.19200300.100.1.25=example,0.9.2342.19200300.100.1.25=com already exists.]

      which means ...

      LDAP_ALREADY_EXISTS: Indicates that the add operation attempted to add an entry that already exists, or that the modify operation attempted to rename an entry to the name of an entry that already exists.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: