You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Josef Cacek (JIRA)" <ji...@apache.org> on 2013/03/12 13:23:12 UTC

[jira] [Created] (DIRAPI-125) LdapUrl class doesn't support IPv6 format of URLs

Josef Cacek created DIRAPI-125:
----------------------------------

             Summary: LdapUrl class doesn't support IPv6 format of URLs
                 Key: DIRAPI-125
                 URL: https://issues.apache.org/jira/browse/DIRAPI-125
             Project: Directory Client API
          Issue Type: Bug
    Affects Versions: 1.0.0-M16
            Reporter: Josef Cacek
            Priority: Critical


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.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira