Uploaded image for project: 'Directory Client API'
  1. Directory Client API
  2. DIRAPI-125

LdapUrl class doesn't support IPv6 format of URLs

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: 1.0.0-M16
    • Fix Version/s: 1.0.0-M22
    • Labels:
      None

      Description

      There isn't implemented support for IPv6 URLs in the org.apache.directory.api.ldap.model.url.LdapUrl class.

      If I have such an URL in a referral, then LDAP search fails and I get error message in the log file:

      [pool-8-thread-1] ERROR org.apache.directory.server.ldap.handlers.request.SearchRequestHandler - ERR_165 Bad URL (ldap://[::1]:11389/ou=Users, dc=jboss,dc=com) for ref in Entry
      dn[n]: ou=ComUsers,ou=Users,dc=jboss,dc=org
      objectclass: extensibleObject
      objectclass: referral
      objectclass: top
      ou: ComUsers
      . Reference will be ignored.

        Attachments

        1. LdapUrl-hotfix.patch
          0.7 kB
          Josef Cacek

          Activity

            People

            • Assignee:
              elecharny Emmanuel L├ęcharny
              Reporter:
              kwart Josef Cacek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: