directory-dev mailing list archives

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

     [ https://issues.apache.org/jira/browse/DIRAPI-125?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Josef Cacek updated DIRAPI-125:
-------------------------------

    Attachment: LdapUrl-hotfix.patch

Hotfix, which can be used to get around this issue.

If you'll implement it in a cleaner way, don't forget to handle zone indices too (follows
% char) e.g.:
fe80::3%1
fe80::3%eth0
                
> 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