RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 805478 - Unable to use permission-mod to rename permission object
Summary: Unable to use permission-mod to rename permission object
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa
Version: 6.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-03-21 12:49 UTC by Namita Soman
Modified: 2013-08-19 14:21 UTC (History)
4 users (show)

Fixed In Version: ipa-2.2.0-10.el6
Doc Type: Bug Fix
Doc Text:
Cause: Due to a bug in IPA permission plugin, an attempt to rename a permission always resulted in an error. Consequence: User had to remove the permission and create a new permission with a new name if he wanted to rename the permission. Fix: The bug in IPA permission plugin was fixed. Result: User is able to rename permissions.
Clone Of:
Environment:
Last Closed: 2012-06-20 13:25:16 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2012:0819 0 normal SHIPPED_LIVE ipa bug fix and enhancement update 2012-06-19 20:34:17 UTC

Description Namita Soman 2012-03-21 12:49:14 UTC
Description of problem:

#ipa permission-mod "Add Automount keys" --rename="AAA" --attr=
ipa: ERROR: This entry already exists


Version-Release number of selected component (if applicable):
ipa-server-2.2.0-4.el6.x86_64

How reproducible:
always

Steps to Reproduce:
1. ipa permission-mod "Add Automount keys" --rename="AAA" --attr=

  
Actual results:
ipa: ERROR: This entry already exists

Expected results:
"Add Automount keys" should be renamed to AAA

Additional info:

Comment 2 Dmitri Pal 2012-03-21 14:44:03 UTC
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/2571

Comment 3 Rob Crittenden 2012-04-12 19:38:32 UTC
Fixed upstream.

master: 2584e9be673985d530447b836b38cb4ddbf8ee21

ipa-2-2: 04d0215efb2ab9ec73827f2777689aed99d4931e

Comment 8 Martin Kosek 2012-04-25 09:40:46 UTC
    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: Due to a bug in IPA permission plugin, an attempt to rename a permission always resulted in an error.
Consequence: User had to remove the permission and create a new permission with a new name if he wanted to rename the permission.
Fix: The bug in IPA permission plugin was fixed.
Result: User is able to rename permissions.

Comment 9 Namita Soman 2012-04-26 13:57:13 UTC
Tested using ipa-server-2.2.0-11.el6.x86_64

# ipa permission-show "Add Automount keys"
  Permission name: Add Automount keys
  Permissions: add
  Subtree: ldap:///automountkey=*,automountmapname=*,cn=automount,dc=testrelm,dc=com
  Granted to Privilege: Automount Administrators


Bug 782847 prompts for all parameters.....but will eventually rename the permission

# ipa permission-mod "Add Automount keys" --rename="AAA" 
[Attributes]: 
[Type]: 
[Member of group]: 
[Filter]: 
[Subtree]: 
[Target group]: 
----------------------------------------
Modified permission "Add Automount keys"
----------------------------------------
  Permission name: aaa
  Permissions: add
  Subtree: ldap:///automountkey=*,automountmapname=*,cn=automount,dc=testrelm,dc=com
  Granted to Privilege: Automount Administrators

Comment 11 errata-xmlrpc 2012-06-20 13:25:16 UTC
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


Note You need to log in before you can comment on or make changes to this bug.