Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-5745

ldap connector (apache ldap library) does not support opendj schema



    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.0
    • Fix Version/s: backlog
    • Component/s: Connectors
    • Labels:
    • Environment:

      Red Hat
      Jdk 1.8.0_221
      midPoint 4.0 (community)

      syncing to OpenDJ DS 6.5.x

    • Subscription:
      No subscription (community)


      When configuring ldap connector 2.3 that shups with 4.0 (tried 2.2 connector also) i get an exception when midPoint is trying to iterate schema. Looking at the source, root cause is because the apache directory studio API cannot parse opendj schema.

      While reading full opendj schema would be welcome, but besides that it is important for the  "Read schema" property on the connector to operate. Even if it is set to "False" the connector still tries to read the schema, and fails. So setting the connector to not actually read schema would be good. The exception attached is when readSchema is "False"

      As a test, i installed the openidm ldap (community version connector and this one works fine reading schema, probably as it internally uses the opendj native ldap API.

      Not being able to read schema is not a show stopper as most of the data fields can be read as plain old strings (with approriate escaping / binary-ascii encoding). Of course in an ideal world (tm) it would also be nice to be able to use the connector and read opendj schema also.





            • Assignee:
              maxfieb Brett Maxfield
            • Votes:
              0 Vote for this issue
              1 Start watching this issue


              • Created: