[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldapsearch's bind fails due to getaddrinfo
Hi,
if I build OpenLDAP using "ac_cv_func_getaddrinfo=no", the hostname
lookup is done:
# 03.09.04
# openldap-2.2.15
#
CPPFLAGS="-I/opt/db42/include -I/opt/openssl/include -I/opt/sasl/include" \
LDFLAGS="-L/opt/db42/lib -L/opt/openssl/lib -L/opt/sasl/lib" \
ac_cv_func_getaddrinfo=no \
./configure \
--prefix=/opt/openldap \
--sysconfdir=/etc \
--localstatedir=/var/lib/ldap \
--with-cyrus-sasl \
--disable-ipv6
$ ldapsearch -x -H ldap://localhost -b dc=berdmann,dc=de '(sn=erdman)'
# extended LDIF
#
# LDAPv3
# base <dc=berdmann,dc=de> with scope sub
# filter: (sn=erdman)
# requesting: ALL
#
# search result
search: 2
result: 0 Success
# numResponses: 1