Bug 710601
| Summary: | ipa sudorule-add accepts blank spaces as sudorule name. | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Gowrishankar Rajaiyan <grajaiya> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Chandrasekar Kannan <ckannan> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.2 | CC: | benl, dpal, jgalipea, mkosek |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-2.1.0-1.el6 | Doc Type: | Bug Fix |
| Doc Text: |
Cause: Leading and trailing spaces are allowed in some values.
Consequence: The space(s) become part of the name and it isn't always easy to identify that they are there.
Fix: Add a validator to not allow leading and trailing spaces.
Result: The error 'Leading and trailing spaces are not allowed' will be returned.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 18:33:15 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
Gowrishankar Rajaiyan
2011-06-03 20:08:44 UTC
master: 3a5e26a01c9cbb7b0a1c38d1b0467b780c3df124 verified: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Bug 710601: ipa sudorule-add accepts blank spaces as sudorule name. :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Running 'ipa sudorule-add " " > /tmp/tmp.2wPVb2wcQB/bug710601.txt 2>&1' :: [ PASS ] :: File '/tmp/tmp.2wPVb2wcQB/bug710601.txt' should not contain 'Added sudo rule " "' :: [ PASS ] :: Running 'cat /tmp/tmp.2wPVb2wcQB/bug710601.txt' :: [ PASS ] :: Running 'ipa sudorule-del " "' :: [ LOG ] :: Duration: 4s :: [ LOG ] :: Assertions: 4 good, 0 bad :: [ PASS ] :: RESULT: Bug 710601: ipa sudorule-add accepts blank spaces as sudorule name. version: ipa-server-2.1.1-4.el6.x86_64
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:
Cause: Leading and trailing spaces are allowed in some values.
Consequence: The space(s) become part of the name and it isn't always easy to identify that they are there.
Fix: Add a validator to not allow leading and trailing spaces.
Result: The error 'Leading and trailing spaces are not allowed' will be returned.
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/RHSA-2011-1533.html |