https://bugs.openldap.org/show_bug.cgi?id=9287

Quanah Gibson-Mount <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |INVALID

--- Comment #6 from Quanah Gibson-Mount <[email protected]> ---
(In reply to happy mu from comment #5)
> hi Quanah 
> 
> yes, there is an issue in ldap DNS search. 
> 
> currently we use  *result=gethostbyname_r  in function
> ldap_pvt_gethostbyname_a.
> but gethostbyname_r is not support 'ipv6' and deprecated  , should use
> getaddrinfo() instead. 

OpenLDAP already uses getaddrinfo if it is available.

The only function that uses gethostbyname_r is the private internal function
ldap_pvt_gethostbyname_a in libldap/util-int.c

That function is only called in one location, in libldap/os-ip.c function
ldap_connect_to_host, and that is if and only if getaddrinfo was not found.

I.e., there does not appear that there is anything here for OpenLDAP to do, it
would appear your library is compiled in correctly.

Regards,
Quanah

-- 
You are receiving this mail because:
You are on the CC list for the issue.

Reply via email to