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

Re: OpenLDAP 2.06 and OpenBSD 2.8 i386



On Mon, Nov 06, 2000 at 10:40:09AM -0600, Randy Kunkee wrote:
> > Hi,
> > 
> > I have something which I would like to know.
> > On OpenBSD i386 2.8 I have the following;
> > running slapd and trying to contact the running process doesn't work
> > (ldap_bind: Can't contact LDAP server.. not a tcp wrapper case) ..
> > a "netstat -a" tells me that slapd is listening for ipv6 connections.
> > if I start another instance of slapd and do "netstat -a" a second time, I
> > will see that slapd is listening for both ipv4 and 6.

On all systems I know of, if it listens to the IPv6 any address, it
should also accept IPv4 connections. Maybe OpenBSD does something weird
though.

> Someone will correct me if I'm wrong, but I don't think there's a way
> to specify this at runtime.  You'll need to rebuild with --disable-ipv6.

You can use "slapd -h ldap://0.0.0.0/"; I think.

Stig