[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: OpenLDAP 2.0.18 and Ipv6
On Fri, Dec 07, 2001 at 06:26:40PM +0800, Paul Tan wrote:
> I have just installed Openldap 2.0.18 (--enable-ipv6=no) on my RedHat 7.2
> machine (build-in Ipv6 module). The kernel version is 2.4.7-10.
> When I try to access this LDAP server from some remote LDAP client, it
> reports "Unable to connect to LDAP server.."
Why do you think this is related to IPv6? You are trying to disable
IPv6 but you have IPv6 installed? I assume it is connecting over IPv4
that fails? IPv4 should work both with and without IPv6 enabled. Or
are you suggesting that --enable-ipv6=no makes a difference?
First of all I would have tried to check with netstat what addresses
slapd has bound to. Or by on the local host telnetting to all the
hosts addresses in turn on port 389. From the remote host you could
try ldapsearch (or telnet to 389) supplying the the different IP
addresses of the host and check if you get connection refused or
something else, and maybe do tcpdump on the server. If you investigate
this further and supply the details, we might be able to locate and
possibly fix the problem. When you start slapd you can also specify
which addresses it should bind to, the default is to listen to "all".
Stig