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

AW: aix 4.3.3. & openldap-2.0.11 & getaddrinfo



Hi,

i found a solution for this problem:

* ./configure --disable-shared --disable-ipv6 --disable-slapd
--disable-slurpd --without-tls
* vi include/portable.h
	change #define HAVE_GETADDRINFO 1 to #undef HAVE_GETADDRINFO
* make depend
* make
* make install

and it works.

Mit freundlichen Grüssen

Holger Koch



---------------------------------------
Holger Koch (COM)
bei Dresdner Bank AG
Holger.Koch@dresdner-bank.com
Hamburger Allee 2-10 / 16.126
Tel.: +49 (0) 69 / 263-18798


-----Ursprüngliche Nachricht-----
Von: Koch, Holger [mailto:Holger.Koch@dresdner-bank.com]
Gesendet am: Montag, 20. August 2001 11:48
An: 'openldap-software@OpenLDAP.org'
Betreff: aix 4.3.3. & openldap-2.0.11 & getaddrinfo

Hi,

I need a ldapclient (only) for aix 4.3.3 and wanna compile openldap-2.0.11.
I compiled it with the following options --disable-shared (without these, i
get a coredump, if i start ldapsearch or something?) --disable-ipv6
--disable-slapd --disable-slurpd --without-tls but i get the error:

bash# ./ldapsearch -v -d 1 -h ffzj0ywf -p 389
ldap_init( ffzj0ywf, 389 )
ldap_create
ldap_bind_s
ldap_simple_bind_s
ldap_sasl_bind_s
ldap_sasl_bind
ldap_send_initial_request
ldap_new_connection
ldap_int_open_connection
ldap_connect_to_host
ldap_connect_to_host: getaddrinfo failed: Host not found
ldap_perror
ldap_bind: Can't contact LDAP server

there is nothing on the network between the client and the ldapserver (linux
rh 7.1).
I found a article that i must modify the configure script and set export
CPPFLAGS=-UHAVE_GETADDRINFO but i get the same error message again. what can
i do? 
Have anybody a hint for me?

best regards/Mit freundlichen Grüssen

Holger Koch



---------------------------------------
Holger Koch (COM)
bei Dresdner Bank AG
Holger.Koch@dresdner-bank.com
Hamburger Allee 2-10 / 16.126
Tel.: +49 (0) 69 / 263-18798