Bug 805546
Summary: | when adding a user with --noprivate option gidNumber should be required | ||
---|---|---|---|
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: | high | ||
Version: | 6.3 | CC: | mkosek |
Target Milestone: | rc | ||
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:25:19 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
Jenny Severance
2012-03-21 14:53:47 UTC
Can not set to ipausers, as the default is now non-posix and it doesn't have a gidNumber .... add should fail with gidNumber required The following automated tests were added :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-user-add-052: user gidnumber defaults to upg gidnumber which matches user uidnumber :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Running 'ipa user-add --first=test --last=test testusr' :: [ PASS ] :: User gidnumber matches user uidnumber. uidNumber: 404600090 gidNumber: 404600090 :: [ LOG ] :: Duration: 13s :: [ LOG ] :: Assertions: 2 good, 0 bad :: [ PASS ] :: RESULT: ipa-user-add-052: user gidnumber defaults to upg gidnumber which matches user uidnumber :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-user-add-053: --noprivate group specified gidnumber exists - default group non-posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Running 'ipa user-add --first=test --last=test --noprivate --gidnumber=404600091 testusr' :: [ PASS ] :: Make sure private group not added :: [ PASS ] :: User's gidnumber as expected. :: [ LOG ] :: Duration: 22s :: [ LOG ] :: Assertions: 3 good, 0 bad :: [ PASS ] :: RESULT: ipa-user-add-053: --noprivate group specified gidnumber exist - ipausers non-posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: bz805546 --noprivate group specified gid number does not exist - default group non-posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Executing: ipa user-add --first=test --last=test --noprivate --gidnumber=123 testusr :: [ LOG ] :: ERROR: Expected "ipa user-add --first=test --last=test --noprivate --gidnumber=123 testusr" to fail. :: [ FAIL ] :: Verify expected error message. (Expected 0, got 1) :: [ LOG ] :: Duration: 7s :: [ LOG ] :: Assertions: 0 good, 1 bad :: [ FAIL ] :: RESULT: ipa-user-add-054: --noprivate group specified gid number does not exist - default group non-posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: bz805546 --noprivate gidnumber not specifiec - default group posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Change default group to testgrp gidnumber: 404600094 :: [ PASS ] :: Running 'ipa user-add --first=test --last=test --noprivate testusr' :: [ PASS ] :: Make sure private group not added :: [ FAIL ] :: User's gidnumber not as expected. Expected: 404600094 Got: 404600095 :: [ LOG ] :: Duration: 25s :: [ LOG ] :: Assertions: 3 good, 1 bad :: [ FAIL ] :: RESULT: ipa-user-add-055: --noprivate gidnumber not specifiec - default group posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: bz805546 when adding a user with --noprivate option the gidNumber should be required :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Executing: ipa user-add --first=test --last=test --noprivate testusr :: [ LOG ] :: ERROR: Expected "ipa user-add --first=test --last=test --noprivate testusr" to fail. :: [ FAIL ] :: Verify expected error message. (Expected 0, got 1) :: [ LOG ] :: Duration: 7s :: [ LOG ] :: Assertions: 0 good, 1 bad :: [ FAIL ] :: RESULT: bz805546 when adding a user with --noprivate option the gidNumber should be required Upstream ticket: https://fedorahosted.org/freeipa/ticket/2572 Fixed upstream: master: https://fedorahosted.org/freeipa/changeset/cdebb29fecdd959808b4f0ea0245e371eba06eae ipa-2-2: https://fedorahosted.org/freeipa/changeset/811faafeecbbba7cc8a16ad7b16d2a64643f3202 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. verified :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-user-add-052: user gidnumber defaults to upg gidnumber which matches user uidnumber :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Running 'ipa user-add --first=test --last=test testusr' :: [ PASS ] :: User gidnumber matches user uidnumber. uidNumber: 1895200026 gidNumber: 1895200026 :: [ LOG ] :: Duration: 8s :: [ LOG ] :: Assertions: 2 good, 0 bad :: [ PASS ] :: RESULT: ipa-user-add-052: user gidnumber defaults to upg gidnumber which matches user uidnumber :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa-user-add-053: --noprivate group specified gidnumber exists - default group non-posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Running 'ipa user-add --first=test --last=test --noprivate --gidnumber=1895200027 testusr' :: [ PASS ] :: Make sure private group not added :: [ PASS ] :: User's gidnumber as expected. :: [ LOG ] :: Duration: 14s :: [ LOG ] :: Assertions: 3 good, 0 bad :: [ PASS ] :: RESULT: ipa-user-add-053: --noprivate group specified gidnumber exists - default group non-posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: bz805546 --noprivate group specified gid number does not exist - default group non-posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Running 'ipa user-add --first=test --last=test --noprivate --gidnumber=123 testusr' :: [ PASS ] :: Make sure private group not added :: [ PASS ] :: User's gidnumber as expected. :: [ PASS ] :: Running 'ipa user-del testusr' :: [ LOG ] :: Duration: 8s :: [ LOG ] :: Assertions: 4 good, 0 bad :: [ PASS ] :: RESULT: bz805546 --noprivate group specified gid number does not exist - default group non-posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: bz805546 --noprivate gidnumber not specifiec - default group posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ PASS ] :: Change default group to testgrp gidnumber: 1895200031 :: [ PASS ] :: Running 'ipa user-add --first=test --last=test --noprivate testusr' :: [ PASS ] :: Make sure private group not added :: [ PASS ] :: User's gidnumber as expected. :: [ LOG ] :: Duration: 18s :: [ LOG ] :: Assertions: 4 good, 0 bad :: [ PASS ] :: RESULT: bz805546 --noprivate gidnumber not specifiec - default group posix :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: bz805546 when adding a user with --noprivate option the gidNumber should be required :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: Executing: ipa user-add --first=test --last=test --noprivate testusr :: [ LOG ] :: "ipa user-add --first=test --last=test --noprivate testusr" failed as expected. :: [ PASS ] :: Error message as expected: ipa: ERROR: Default group for new users is not POSIX :: [ PASS ] :: Verify expected error message. :: [ LOG ] :: Duration: 6s :: [ LOG ] :: Assertions: 2 good, 0 bad :: [ PASS ] :: RESULT: bz805546 when adding a user with --noprivate option the gidNumber should be required version :: ipa-server-2.2.0-11.el6 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 |