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

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

On Wed, Dec 05, 2001 at 10:04:43PM +0000, ian@uns.ns.ac.yu wrote:
> 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

I haven't looked at your patch yet, but this should be fixed.

> 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.

I don't agree with this though. OpenLDAP will work just fine with
non-IPv6 kernel, even though IPv6 is enabled. If you later at some
point should enable IPv6, IPv6 will automatically be used. Hence I
would suggest to use --disable-ipv6 only if OpenLDAP misbehaves. The
only misbehavior I know of so far is strange or buggy getaddrinfo()
implementations. Of course there could be other problems...