Bug 812281 - autofs client: map name length used as key length
autofs client: map name length used as key length
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd (Show other bugs)
6.3
Unspecified Unspecified
urgent Severity urgent
: rc
: ---
Assigned To: Stephen Gallagher
IDM QE LIST
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-04-13 05:42 EDT by Jakub Hrozek
Modified: 2012-06-20 07:56 EDT (History)
5 users (show)

See Also:
Fixed In Version: sssd-1.8.0-23.el6
Doc Type: Bug Fix
Doc Text:
No documentation required
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-06-20 07:56:41 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:


Attachments (Terms of Use)

  None (edit)
Description Jakub Hrozek 2012-04-13 05:42:42 EDT
Description of problem:
A copy-and-paste bug in the autofs client caused that the map name is used as key length. This might result in wrong behaviour especially if the key name is longer than map name.

Version-Release number of selected component (if applicable):
1.8.0-22

How reproducible:
haven't tested, the bug is obvious from the code and fixed upstream in 0a78bac242d0172a858d6b65402276aa734a4671 The steps to reproduce below *should* work though.

Steps to Reproduce:
1. create a key with long name, longer than the map name
2. look up the key

  
Actual results:
the key is trimmed to the map length

Expected results:
should work fine
Comment 4 Dmitri Pal 2012-04-16 14:44:22 EDT
Upstream ticket:
https://fedorahosted.org/sssd/ticket/1304
Comment 5 Jakub Hrozek 2012-04-18 10:29:36 EDT
I think we need to reconsider this for 6.3. See https://bugzilla.redhat.com/show_bug.cgi?id=683523#c78
Comment 6 Stephen Gallagher 2012-04-18 10:35:15 EDT
Patch is available upstream. Giving devel_ack.
Comment 13 Jenny Galipeau 2012-04-26 09:53:47 EDT
Autofs is technical preview feature closing bug.
Comment 14 Stephen Gallagher 2012-06-12 08:39:15 EDT
    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.
    
    New Contents:
No documentation required
Comment 16 errata-xmlrpc 2012-06-20 07:56:41 EDT
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.

http://rhn.redhat.com/errata/RHBA-2012-0747.html

Note You need to log in before you can comment on or make changes to this bug.