Bug 1715675

Summary: Fix potential ipv6 issues
Product: Red Hat Enterprise Linux 8 Reporter: mreynolds
Component: 389-ds-baseAssignee: mreynolds
Status: CLOSED ERRATA QA Contact: RHDS QE <ds-qe-bugs>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.0CC: lkrispen, nkinder, rmeggins, spichugi, tbordaz, vashirov
Target Milestone: rc   
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.4.1.3-3.module+el8.1.0+3533+f8225121 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-11-05 21:00:29 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description mreynolds 2019-05-31 00:32:50 UTC
This bug is created as a clone of upstream ticket:
https://pagure.io/389-ds-base/issue/49361

#### Issue Description

net_ntoa(), inet_aton(), and inet_addr(), and gethostbyname() potentially don't work well with IPv6.

Use **getaddrinfo()** or **getnameinfo()**  instead of `gethostbyname()`

Use **inet_ntop()** or **inet_pton()** instead of:  `inet_ntoa(), inet_aton(), and inet_addr()`

Comment 4 errata-xmlrpc 2019-11-05 21:00:29 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:3401