Mangles MAC in ethers lookup

Bug #315241 reported by Ryan Lovett
4
Affects Status Importance Assigned to Milestone
libnss-ldap (Debian)
Fix Released
Unknown
libnss-ldap (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libnss-ldap

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310563

This bug occurs on Hardy.

'getent ethers hostname' properly looks up a machine, but when the client issues 'getent ethers 00:00:00:00:00:00' the LDAP server reveals that the filter is "(&(objectClass=ieee802Device)(macAddress=0:0:0:0:40:54))". This occurs for all MAC addresses so the server never matches on any getent key. The bug occurs on both i386 and amd64.

Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

Binary package hint: libnss-ldap

http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=310563

This bug occurs on Hardy.

'getent ethers hostname' properly looks up a machine, but when the client issues 'getent ethers 00:00:00:00:00:00'
the LDAP server reveals that the filter is "(&(objectClass=ieee802Device)(macAddress=0:0:0:0:40:54))". The bug occurs on both i386 and amd64.

Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

A manual search using ldapsearch yielded the correct results, e.g.

  ldapsearch ... -b cn=ethers,dc=foo "(macAddress=11:22:33:44:55:66)"

returned the correct entry from the server.

description: updated
Revision history for this message
Robert Gerlach (khnz) wrote :

PADL Bug: #388

Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

Thanks Robert.

http://bugzilla.padl.com/show_bug.cgi?id=388

(launchpad wouldn't let me add this URL to the remote bug tracking list since PADL isn't listed among the "distributions")

Revision history for this message
In , Robert Gerlach (khnz) wrote :
Changed in libnss-ldap:
status: Unknown → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libnss-ldap - 261-2.1ubuntu4

---------------
libnss-ldap (261-2.1ubuntu4) karmic; urgency=low

  * debian/patches/00-fix-ethers-truncation.patch: Fix lookups for hostname by
    mac address. (http://bugzilla.padl.com/show_bug.cgi?id=388) (LP: #315241)

 -- Chuck Short <email address hidden> Thu, 08 Oct 2009 14:13:47 -0400

Changed in libnss-ldap (Ubuntu):
status: New → Fix Released
Changed in libnss-ldap (Debian):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.