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

getaddrinfo broken when linking with bind (ITS#1665)

Full_Name: Nikolaus Filus
Version: 2.0.2x
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (


I tried to install openLDAP 2.0.2x and run into problems, which were reported
here, but I didn't found a working solution for me. Now I have one:
When linking against bind (8.2.2-P5) getaddrinfo fails with 
   daemon_init: <null>
   daemon_init: listen on ldap:///
   daemon_init: 1 listeners to open...
   slap_get_listener_addresses: getaddrinfo ai_addr is NULL?
   slapd stopped.
   connections_destroy: nothing to destroy.
but after changing the order of looking for res_query to first look for
libresolv, I was able to pass all tests. Now everything is working OK.