[
https://issues.apache.org/jira/browse/DIRAPI-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14031506#comment-14031506
]
Emmanuel Lecharny commented on DIRAPI-125:
------------------------------------------
There is way more than just what the fix contains... In fact, the current
implementation is based on RFC 2255, which is obsoleted by RFC 4516
> 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
> Attachments: LdapUrl-hotfix.patch
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)