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

RE: slapd segfaults with bad LDAP URL (ITS#2132)



Howard Chu writes:

> This is now fixed in HEAD, please test.

Yup, it works now.  Thanks.

> I am suggesting that the reason you saw two bind error messages is
> because it tried twice, once for IPv4 and once for IPv6.

Right.  Adding the '-4' option removed the duplicate bind.

> The code is set to loop through all the addresses that a hostname
> lookup returns. It will only fail when all of the addresses fail. If
> you get EADDRINUSE on one of them, but another succeeds, it will
> consider this a success.

That sounds like a bug: I wouldn't want slapd to start happily with only
v6 without and let me think it had v4 (too).  For now I can give the -4
option to avoid that, but when the time comes that I do want v6 as well
it could become a problem.  Or if it started as v6-only while I only
wanted v4 and didn't know about v6.

-- 
Hallvard