[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Openldap 2.0.1 release on FreeBSD 4.1 (server socket bind problem)
Stig VenXs wrote:
>
> On Wed, Sep 06, 2000 at 02:16:47PM +0200, Fabrice Akhen wrote:
> > Yep I forgot mention that I have tried to disable ipv6 cause it doesn't
> > compile with.
> >
> > It compiles now and works, with your change.
>
> Thanks a lot for your feedback, both of you, I will change the code.
> I would like to use
>
> peeraddr = inet_ntoa( *((struct in_addr *)
> &from.sa_in6_addr.sin6_addr.s6_addr[12]) );
>
> in CVS, that should be more portable I think. It would be really nice
> if you could try that one too.
>
> Sorry for the problems,
>
> Stig
That modification seems to works also (I can only test it in ipv4 mode).
But something strange when running lsof on slapd process i can only see
:
slapd 33135 root 8u IPv6 0xc92d52e0 0t0 TCP *:ldap
If I take for example inetd (maybe it isn't a good test) :
inetd 199 root 4u IPv4 0xc92c9500 0t0 TCP *:ftp (LISTEN)
inetd 199 root 10u IPv6 0xc92ca500 0t0 TCP *:ftp (LISTEN)
Maybe this is just related to lsof and not signifiant cause , it
works...