Bug ID 970282
Summary Getent hosts incorrectly resolvs an LDAP IPv6 host as IPv4
Classification openSUSE
Product openSUSE Distribution
Version Leap 42.1
Hardware Other
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Network
Assignee bnc-team-screening@forge.provo.novell.com
Reporter david.westfall@red-inc.us
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

On 42.1 getent hosts resolves an LDAP IPv6 host as an IPv4 Host with an address
of 255.255.255.255

Atlas:~ # getent hosts |grep IPv6
255.255.255.255 Hagar.IPv6.RDTE.ctl Hagar.IPv6.RDTE

dn: cn=Hagar.IPv6.RDTE.ctl,ou=Hosts,dc=CTL,dc=CrewSystems
cn: Hagar.IPv6.RDTE.ctl
cn: Hagar.IPv6.RDTE
iphostnumber: XXXX:XXX:XXX:XXXX:20e:cff:fe33:2bec
macaddress: 00:0E:0C:33:2B:EC
objectclass: top
objectclass: ipHost
objectclass: device
objectclass: ieee802Device

The XXXX are to mask out my real ip.

Dave W

Also I am not sure if it is a bug or a config option that I have not found, but
getent hosts does not show any IPv6 host info.  From 13.1 on getent (hosts
ahosts ahostsv4 ahostsv6) only shows IPv4 hosts and the output is the same for
each database.

Atlas:~ # getent hosts|wc -l
53
Atlas:~ # getent ahosts|wc -l
53
Atlas:~ # getent ahostsv4|wc -l
53
Atlas:~ # getent ahostsv6|wc -l
53


You are receiving this mail because: