Red Hat Bugzilla – Bug 602966
gethostbyname2 queried with AF_INET6 (IPv6) return ok with IPv4 address
Last modified: 2011-01-05 01:31:06 EST
This bug has been copied from bug #205243 and has been proposed
to be backported to 4.8 z-stream (EUS).
Technical note added. If any revisions are required, please edit the "Technical Notes" field
accordingly. All revisions will be proofread by the Engineering Content Services team.
Being built without the Internet Protocol version 6 (IPv6) support, when the "gethostbyname2()" function was used, nss_ldap used to return the Internet Protocol version 4 (IPv4) address even though the IPv6 had been requested. With this update, nss_ldap produces the expected output.
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.