Uploaded image for project: 'OpenDJ'
  1. OpenDJ
  2. OPENDJ-2816

With pdb backend, error while doing modrdn on an entry

    Details

    • Type: Bug
    • Status: Done
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0.0, 3.5.0
    • Fix Version/s: 4.0.0, 3.5.0
    • Component/s: backends, tools
    • Labels:

      Description

      Found with OpenDJ 4.0.0 rev f91a480df0a08c9286dcb508e1adb78602d02114

      We setup a server with a pdb backends and some auto-generated entries.

      ./opendj/setup -h localhost -p 1389 -D cn=myself -w password --adminConnectorPort 4444 -Z 1636 --generateSelfSignedCertificate -b dc=com -t pdb -d 10 --cli -n
      

      Then we try renaming it but it fails with teh following error:

      ./opendj/bin/ldapmodify -h localhost -p 1389 -D cn=myself -w password
      dn: uid=user.1,ou=people,dc=com
      changetype: modrdn
      newrdn: uid=Changed user.1
      deleteoldrdn: 1
      MODIFY DN operation failed
      Result Code:  80 (Other)
      Additional Information:  An error occurred while attempting to store compressed schema information in the database: OpenDJ does not support transactions nested in a write transaction. Code is forbidden from opening one.
      

      This is a regression compared to 3.0.0 and it works fine with je backend.

      script in attachment to reproduce the issue.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                JnRouvignac Jean-Noël Rouvignac
                Reporter:
                cforel carole forel
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: