| Summary: | Unable to disable or enable hbacrule with --setattr [regression] | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jenny Severance <jgalipea> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.3 | CC: | mkosek |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-2.2.0-9.el6 | Doc Type: | Bug Fix |
| Doc Text: |
No documentation needed.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 13:26:40 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Jenny Severance
2012-04-09 17:50:06 UTC
This is a regression introduced in this patch: https://fedorahosted.org/freeipa/changeset/241955e4ce34f491168237f5a06bcb98daf22a5a/ We do not encode parameters present only for LDAPObject and for LDAPCommand properly. I will open an upstream ticket. Upstream ticket: https://fedorahosted.org/freeipa/ticket/2616 master: 1431c80b3c2a256bb6c10cf042f7671004695a9f ipa-2-2: 32fa7f7a48b3d956b0ec5dbea9cd22db504a562d verified : :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-hbacrule-cli-015: Negative - setattr and addattr on ipaEnabledFlag :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Executing: ipa hbacrule-mod --setattr ipaenabledflag=test test :: [ LOG ] :: "ipa hbacrule-mod --setattr ipaenabledflag=test test" failed as expected. :: [ PASS ] :: Error message as expected: ipa: ERROR: invalid 'ipaenabledflag': must be True or False :: [ PASS ] :: Verify expected error message for --setattr on ipaEnabledFlag. :: [ PASS ] :: Disable rule using setattr modification. :: [ LOG ] :: test is FALSE as expected. :: [ PASS ] :: Verify rule is now disabled :: [ LOG ] :: Executing: ipa hbacrule-mod --addattr ipaenabledflag=TRUE test :: [ LOG ] :: "ipa hbacrule-mod --addattr ipaenabledflag=TRUE test" failed as expected. :: [ PASS ] :: Error message as expected: ipa: ERROR: ipaenabledflag: Only one value allowed. :: [ PASS ] :: Verify expected error message for --addattr on ipaEnabledFlag. :: [ LOG ] :: Duration: 17s :: [ LOG ] :: Assertions: 6 good, 0 bad :: [ PASS ] :: RESULT: ipa-hbacrule-cli-015: Negative - setattr and addattr on ipaEnabledFlag version : ipa-server-2.2.0-9.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:
No documentation needed.
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-0819.html |