Issue 599 - libldap/url.c patch for IPv6 support
Summary: libldap/url.c patch for IPv6 support
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2000-06-18 09:19 UTC by venaas@openldap.org
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description venaas@openldap.org 2000-06-18 09:19:39 UTC
Full_Name: Stig Venaas
Version: devel
OS: Linux
URL: http://domen.uninett.no/~venaas/ldap-IPv6-url.diff
Submission from: (NULL) (129.241.20.74)


With this patch URLs with hostport of the form [IPv6-address]
and [IPv6 address]:port works okay. It also makes
ldap_url_parsehosts which takes a string of hostports, accept
IPv6-address, [IPv6-address] and [IPv6-address]:port and
ldap_url_list2hosts will store an IPv6 address as
[IPv6-address] or [IPv6-address]:port.

I haven't had time to test this properly but I think it's okay.
For instance ldapsearch will now work with IPv6 address as host
argument.

Leaving on vacation tomorrow, so this will be my last patch for
a while. Let me know if anything needs be done and I'll look at
it when I get back.

Stig

Comment 1 Kurt Zeilenga 2000-06-18 10:07:42 UTC
moved from Incoming to Development
Comment 2 Kurt Zeilenga 2000-06-18 10:08:14 UTC
changed notes
changed state Open to Closed
Comment 3 Kurt Zeilenga 2000-06-18 14:06:52 UTC
Applied to devel and releng2, thanks!

At 09:19 AM 6/18/00 GMT, venaas@uninett.no wrote:
>Full_Name: Stig Venaas
>Version: devel
>OS: Linux
>URL: http://domen.uninett.no/~venaas/ldap-IPv6-url.diff
>Submission from: (NULL) (129.241.20.74)
>
>
>With this patch URLs with hostport of the form [IPv6-address]
>and [IPv6 address]:port works okay. It also makes
>ldap_url_parsehosts which takes a string of hostports, accept
>IPv6-address, [IPv6-address] and [IPv6-address]:port and
>ldap_url_list2hosts will store an IPv6 address as
>[IPv6-address] or [IPv6-address]:port.
>
>I haven't had time to test this properly but I think it's okay.
>For instance ldapsearch will now work with IPv6 address as host
>argument.
>
>Leaving on vacation tomorrow, so this will be my last patch for
>a while. Let me know if anything needs be done and I'll look at
>it when I get back.
>
>Stig
>
>
>
>
Comment 4 OpenLDAP project 2014-08-01 21:05:27 UTC
Applied.