[Date Prev][Date Next] [Chronological] [Thread] [Top]

IPv6 support enabled even with --disable-ipv6 (ITS#1478)

Full_Name: Ivan Nejgebauer
Version: 2.0.18
OS: Linux 2.2.x
URL: ftp://ftp.openldap.org/incoming/ivan.nejgebauer-011205.patch
Submission from: (NULL) (

The configure scripts checks for IPv6 support even if the --disable-ipv6 option
was specified on the command line.  If the system has an IPv6-capable libc, IPv6
support will be enabled (LDAP_PF_INET6 defined in include/portable.h), which can
be undesirable.  Case in point: Red Hat Linux 6.2, which ships with glibc-2.1.3
(IPv6-capable) but no IPv6 support in the kernel.

The supplied patch modifies configure.in to check for IPv6 support only if
$ol_enable_ipv6 is "yes" or "auto".