Skip to content

OpenDJ 4.9 an error occurred when ldapmodify was used in jdbc backend #456

Description

@dewice

Describe the bug
A clear and concise description of what the bug is.

When I used OpenDJ 4.9 and configured backend as jdbc, the following error occurred after I executed ldapmodify



Processing ADD request for uid=TEST0001,cn=users,dc=example,dc=com
The LDAP modify request failed: 80 (Other)
Additional Information:  java.lang.RuntimeException:
org.postgresql.util.PSQLException: This connection has been closed.

To Reproduce
Steps to reproduce the behavior:

/setup.bat -h localhost -p 1689 --ldapsPort 1636 --adminConnectorPort 4444 --enableStartTLS --generateSelfSignedCertificate --rootUserDN "cn=root" --rootUserPassword Passw0rd --cli --acceptLicense --no-prompt

./bat/dsconfig.bat create-backend --hostname localhost --port 4444 --bindDN "cn=root" --bindPassword Passw0rd \
   --backend-name=userRoot \
   --type jdbc --set db-directory:jdbc:postgresql://192.168.0.120:5433/opendj1?user=opendj\&password=Passw0rd  \
   --set base-dn:dc=example,dc=com \
   --set enabled:true \
   --no-prompt --trustAll
   
./ldapmodify.bat -D cn=root -w Passw0rd -p 1689 -f C:\\Users\\31309\\Desktop\\test2.ldif -a

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions