directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DIRAPI-125) LdapUrl class doesn't support IPv6 format of URLs
Date Tue, 12 Mar 2013 18:09:13 GMT

    [ https://issues.apache.org/jira/browse/DIRAPI-125?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600269#comment-13600269
] 

Emmanuel Lecharny commented on DIRAPI-125:
------------------------------------------

You are perfectly right, we don't -yet- support IPV6 address... This is a mistake since this
class has been written 3 or 4 years ago, way after RFC 3986 has obsoleted RFC 2255.

We must implement it following the syntax in http://www.faqs.org/rfcs/rfc3986.html.

I'll try to do it quickly, if nobody beats me on that task :)

Thanks for the feedback !
                
> 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 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

Mime
View raw message