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

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



> -----Original Message-----
> From: Hallvard B Furuseth [mailto:h.b.furuseth@usit.uio.no]

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

I guess I agree with you. I've now changed it to fail instead of continue
when bind fails.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support