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 15:23:12 UTC
[jira] [Updated] (DIRAPI-125) LdapUrl class doesn't support IPv6
format of URLs
[ 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