Full_Name: Дилян Палаузов Version: 2.4.45 OS: Linux URL: Submission from: (NULL) (87.193.154.82) After `./configure --disable-ipv6` I expect, that `ldapsearch` will not contact severs over IPv6, which is achieved with the fix below. diff --git a/libraries/libldap/os-ip.c b/libraries/libldap/os-ip.c --- a/libraries/libldap/os-ip.c +++ b/libraries/libldap/os-ip.c @@ -623,6 +623,9 @@ ldap_connect_to_host(LDAP *ld, Sockbuf *sb, continue; } +#ifndef LDAP_PF_INET6 + if (sai->ai_family == AF_INET6) continue; +#endif /* we assume AF_x and PF_x are equal for all x */ s = ldap_int_socket( ld, sai->ai_family, socktype ); if ( s == AC_SOCKET_INVALID ) {
changed notes
changed notes changed state Open to Release moved from Incoming to Software Bugs
On Wed, Oct 11, 2017 at 12:24:56PM +0000, dpa-openldap@aegee.org wrote: > After `./configure --disable-ipv6` I expect, that `ldapsearch` will not contact > severs over IPv6, which is achieved with the fix below. Hi, thank you for your work, the patch has been pushed to master (5e8aa3f6d111160cbb3ce3a49af7323258e702b5) and will also be part (c4f55cea87880ca8c14b559bd77bcea19ad615cd) of the upcoming 2.4.48 release. Thanks, -- Ondřej Kuzník Senior Software Engineer Symas Corporation http://www.symas.com Packaged, certified, and supported LDAP solutions powered by OpenLDAP
Fixed in master Fixed in RE24 (2.4.48)
changed notes changed state Release to Closed