Bug 817412
| Summary: | there is no permission/privilege for modifying automount keys | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Dmitri Pal <dpal> |
| Component: | ipa | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | Namita Soman <nsoman> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.3 | CC: | jgalipea, mkosek |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-3.0.0-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-02-21 09:12:14 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
Dmitri Pal
2012-04-29 20:20:50 UTC
This request was not resolved in time for the current release. Red Hat invites you to ask your support representative to propose this request, if still desired, for consideration in the next release of Red Hat Enterprise Linux. This request was erroneously removed from consideration in Red Hat Enterprise Linux 6.4, which is currently under development. This request will be evaluated for inclusion in Red Hat Enterprise Linux 6.4. Fixed upstream master: 4760c15cb2c8692b0e258ef62234aa18ab5fc193 An easy way to test this is to add a user to the IT Specialist role and try to modify an existing automount key. In this example we'll add a new one then modify it. $ kinit someuser $ ipa automountmap-add-indirect default auto.share --mount=/share $ ipa automountkey-add default auto.share --key=key --info=something $ ipa automountkey-mod default auto.share --key=key --newinfo=new Verified using ipa-server-3.0.0-20.el6.x86_64 # ipa user-add abc First name: abc Last name: abc ---------------- Added user "abc" ---------------- User login: abc First name: abc Last name: abc Full name: abc abc Display name: abc abc Initials: aa Home directory: /home/abc GECOS field: abc abc Login shell: /bin/sh Kerberos principal: abc Email address: abc UID: 976200003 GID: 976200003 Password: False Kerberos keys available: False # ipa passwd abc New Password: Enter New Password again to verify: --------------------------------------- Changed password for "abc" --------------------------------------- # ipa role-add-member "IT Specialist" --users=abc Role name: IT Specialist Description: IT Specialist Member users: abc ------------------------- Number of members added 1 ------------------------- # kinit abc Password for abc: Password expired. You must change it now. Enter new password: Enter it again: # ipa automountmap-add-indirect default auto.share --mount=/share -------------------------------- Added automount map "auto.share" -------------------------------- Map: auto.share # ipa automountkey-add default auto.share --key=key --info=something ------------------------- Added automount key "key" ------------------------- Key: key Mount information: something # ipa automountkey-mod default auto.share --key=key --newinfo=new ---------------------------- Modified automount key "key" ---------------------------- Key: key Mount information: new Negative test...tried using a user who doesn't have the role of "IT Specialist": # ipa user-add one First name: one Last name: one ---------------- Added user "one" ---------------- User login: one First name: one Last name: one Full name: one one Display name: one one Initials: oo Home directory: /home/one GECOS field: one one Login shell: /bin/sh Kerberos principal: one Email address: one UID: 976200004 GID: 976200004 Password: False Kerberos keys available: False # ipa passwd one New Password: Enter New Password again to verify: --------------------------------------- Changed password for "one" --------------------------------------- # kinit one Password for one: Password expired. You must change it now. Enter new password: Enter it again: # ipa automountmap-add-indirect default auto.share --mount=/share ipa: ERROR: Insufficient access: Insufficient 'add' privilege to add the entry 'automountmapname=auto.share,cn=default,cn=automount,dc=testrelm,dc=com'. 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/RHSA-2013-0528.html |