Bug 797237
Summary: | ipa netgroup-add and netgroup-mod --nisdomain should not allow commas | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | Scott Poore <spoore> |
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: | jgalipea, mkosek |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-2.2.0-7.el6 | Doc Type: | Bug Fix |
Doc Text: |
No documentation needed.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2012-06-20 13:19:16 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
Scott Poore
2012-02-24 16:26:26 UTC
Upstream ticket: https://fedorahosted.org/freeipa/ticket/2448 Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/5cfee2338d548035151926c5c235f3426fca0499 ipa-2-2: https://fedorahosted.org/freeipa/changeset/df0e73a5dbfb4ad09a74c930f4d7e6d0721e5c9b Verified. Version :: ipa-server-2.2.0-7.el6.x86_64 Automated Test Results :: # netgroup_bz_797237 :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: netgroup_bz_797237: ipa netgroup-add and netgroup-mod --nisdomain should not allow commas :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Running 'ipa netgroup-add netgroup_bz_797237_1 --desc=desc1 --nisdomain=test1,test2 > /tmp/errormsg.out 2>&1' :: [ PASS ] :: BZ 797237 not found for netgroup-add with comma ipa: ERROR: netgroup_bz_797237_1: netgroup not found :: [ PASS ] :: Running 'ipa netgroup-del netgroup_bz_797237_1' :: [ PASS ] :: Running 'ipa netgroup-add netgroup_bz_797237_2 --desc=desc2 --nisdomain=test^\|\!\@\#$\%\&\*\)\( > /tmp/errormsg.out 2>&1' :: [ PASS ] :: BZ 797237 not found for netgroup-add --nisdomain with other invalid chars ipa: ERROR: netgroup_bz_797237_2: netgroup not found :: [ PASS ] :: Running 'ipa netgroup-del netgroup_bz_797237_2' ------------------------------------- Added netgroup "netgroup_bz_797237_3" ------------------------------------- Netgroup name: netgroup_bz_797237_3 Description: desc3 NIS domain name: testrelm.com IPA unique ID: 4d5f9166-7e9a-11e1-8f5c-5254003c4d38 :: [ PASS ] :: Running 'ipa netgroup-add netgroup_bz_797237_3 --desc=desc3' :: [ PASS ] :: Running 'ipa netgroup-mod netgroup_bz_797237_3 --nisdomain=test3,test4 > /tmp/errormsg.out 2>&1' :: [ PASS ] :: BZ 797237 not found for netgroup-mod --nisdomain with comma. --------------------------------------- Deleted netgroup "netgroup_bz_797237_3" --------------------------------------- :: [ PASS ] :: Running 'ipa netgroup-del netgroup_bz_797237_3' ------------------------------------- Added netgroup "netgroup_bz_797237_4" ------------------------------------- Netgroup name: netgroup_bz_797237_4 Description: desc4 NIS domain name: testrelm.com IPA unique ID: 50922a06-7e9a-11e1-b284-5254003c4d38 :: [ PASS ] :: Running 'ipa netgroup-add netgroup_bz_797237_4 --desc=desc4' :: [ PASS ] :: Running 'ipa netgroup-mod netgroup_bz_797237_4 --setattr=nisdomainname=test5,test6 > /tmp/errormsg.out 2>&1' :: [ PASS ] :: BZ 797237 not found for netgroup-mod --setattr=nisdomainname with comma. --------------------------------------- Deleted netgroup "netgroup_bz_797237_4" --------------------------------------- :: [ PASS ] :: Running 'ipa netgroup-del netgroup_bz_797237_4' ------------------------------------- Added netgroup "netgroup_bz_797237_5" ------------------------------------- Netgroup name: netgroup_bz_797237_5 Description: desc5 NIS domain name: testrelm.com IPA unique ID: 547b8a40-7e9a-11e1-936e-5254003c4d38 :: [ PASS ] :: Running 'ipa netgroup-add netgroup_bz_797237_5 --desc=desc5' :: [ PASS ] :: Running 'ipa netgroup-mod netgroup_bz_797237_5 --setattr=nisdomain=test^\|\!\@\#$\%\&\*\)\( > /tmp/errormsg.out 2>&1' :: [ PASS ] :: BZ 797237 not found for netgroup-add --nisdomain with other invalid chars --------------------------------------- Deleted netgroup "netgroup_bz_797237_5" --------------------------------------- :: [ PASS ] :: Running 'ipa netgroup-del netgroup_bz_797237_5' Manual Test Results :: # ipa netgroup-add netgroup1 --desc=test --nisdomain=one,two ipa: ERROR: invalid 'nisdomain': may only include letters, numbers, _, -, and . # ipa netgroup-add netgroup1 --desc=test -------------------------- Added netgroup "netgroup1" -------------------------- Netgroup name: netgroup1 Description: test NIS domain name: testrelm.com IPA unique ID: 6728013c-7e9a-11e1-afe3-5254003c4d38 # ipa netgroup-mod netgroup1 --nisdomain=one,two ipa: ERROR: invalid 'nisdomain': may only include letters, numbers, _, -, and . # 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 |