[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: IPv6 support enabled even with --disable-ipv6 (ITS#1478)
Stig Venaas <Stig@OpenLDAP.org> wrote:
> > 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.
I see your point and agree in principle. What bothered me about
slapd's handling of the above situation was the way it's reported.
What you get in the log is a rather dire-sounding
daemon: socket() failed errno=97 (Address family not supported by protocol)
I know it's harmless and should be ignored, but IMO it violates the
principle of least surprise, and should either be made more
informative, or eliminated altogether (e.g., by --disable-ipv6). I
chose the latter since that's the easiest way in my current setup.
i.