Bug 874671
Summary: | ipa group-add-member missing error message when adding duplicate external members | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Scott Poore <spoore> |
Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | IDM QE LIST <seceng-idm-qe-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | medium | ||
Version: | 7.0 | CC: | dpal, mkosek, nsoman, sbose, xdong |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | ipa-3.2.1-1.el7 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-06-13 09:33:05 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: | |
Embargoed: |
Description
Scott Poore
2012-11-08 15:51:41 UTC
Upstream ticket: https://fedorahosted.org/freeipa/ticket/3254 *** Bug 920702 has been marked as a duplicate of this bug. *** Fixed in master, re-pointing to the 7.0 release (with Namita's blessing). master: 66356f0daf2a55c7e64dc648e0f8c765e9a56151 When adding a duplicate member to a group, an error message is issued, informing the user that the entry is already a member of the group. Similarly, when trying to delete an entry which is not a member, an error message is issued, informing the user that the entry is not a member of the group. These error messages were missing in case of external members. This patch also adds support for using the AD\name or name.com format in ipa group-remove-member command. Verified. Version :: ipa-server-3.3.0-7.el7.x86_64 Manually run automated test results :: :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: :: [ LOG ] :: ipa_trust_func_BZ874671: ipa group-add-member missing error message when adding duplicate external members :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: --------------------------------------- Added group "ipa_trunc_func_bug_874671" --------------------------------------- Group name: ipa_trunc_func_bug_874671 Description: desc :: [ PASS ] :: Running 'ipa group-add --desc=desc ipa_trunc_func_bug_874671 --external' (Expected 0, got 0) Group name: ipa_trunc_func_bug_874671 Description: desc External member: S-1-5-21-1111600086-3918383388-1921175064-513 ------------------------- Number of members added 1 ------------------------- :: [ PASS ] :: Running 'ipa group-add-member ipa_trunc_func_bug_874671 --users '' --groups '' --external 'AD1\Domain Users'' (Expected 0, got 0) :: [ PASS ] :: Running 'ipa group-add-member ipa_trunc_func_bug_874671 --users '' --groups '' --external 'AD1\Domain Users' > /tmp/ipa_trunc_func_bug_874671.tmpout 2>&1' (Expected 1, got 1) Group name: ipa_trunc_func_bug_874671 Description: desc External member: S-1-5-21-1111600086-3918383388-1921175064-513 Failed members: member user: member group: S-1-5-21-1111600086-3918383388-1921175064-513: This entry is already a member ------------------------- Number of members added 0 ------------------------- :: [ PASS ] :: Running 'cat /tmp/ipa_trunc_func_bug_874671.tmpout' (Expected 0, got 0) :: [ PASS ] :: File '/tmp/ipa_trunc_func_bug_874671.tmpout' should contain 'This entry is already a member' :: [ PASS ] :: BZ 874671 not found :: [ 14:08:12 ] :: Cleaning up after test ----------------------------------------- Deleted group "ipa_trunc_func_bug_874671" ----------------------------------------- :: [ PASS ] :: Running 'ipa group-del ipa_trunc_func_bug_874671' (Expected 0, got 0) This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request. |