On AIX 4.3 OpenLDAP will build with IPv6 support. One difference is that it uses getaddrinfo() instead of gethostbyname(). When running the tests, slapd will fail to start and the master.log file will contain:
daemon: getaddrinfo failed: Host not found
even though it's only looking for "localhost".
The problem is actually not with the hostname, but with the port numbers. The test servers start with port number 9009 or 9010, and AIX getaddrinfo expects any passed in port numbers to correspond to a valid entry in /etc/services.
hyc@openldap.org |