Bug 640867 - ipa netgroup-add-member --hosts gives error "Insufficient access"
Summary: ipa netgroup-add-member --hosts gives error "Insufficient access"
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: freeIPA
Classification: Retired
Component: ipa-admintools
Version: unspecified
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Rob Crittenden
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-10-07 00:05 UTC by Michael Gregg
Modified: 2015-01-04 23:44 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2010-10-07 19:03:05 UTC
Embargoed:


Attachments (Terms of Use)

Description Michael Gregg 2010-10-07 00:05:12 UTC
Description of problem:
running "ipa netgroup-add-member --hosts=<valid host> <valid netgroup>" produces a "Insufficient access" error.

Version-Release number of selected component (if applicable):
ipa-admintools-1.91-0.2010100621git127ff31.fc13.x86_64

How reproducible:
always

Steps to Reproduce:
1.ipa netgroup-add-member --hosts=<valid host> <valid netgroup>

  
Actual results:
[root@ipaqa64vmb ~]# ipa netgroup-add-member --hosts=ipaqa64vmb.idm.lab.bos.redhat.com n1

ipa: ERROR: Insufficient access: Insufficient 'write' privilege to the 'externalHost' attribute of entry 'ipauniqueid=2e373180-d1a4-11df-a300-021016980183,cn=ng,cn=alt,dc=testrelm'.

Comment 1 Dmitri Pal 2010-10-07 00:17:17 UTC
https://fedorahosted.org/freeipa/ticket/336

Comment 2 Rob Crittenden 2010-10-07 13:26:18 UTC
Michael, can you test again with today's build? There was a typo in an aci (adminss instead of admins) that is probably the culprit. The fix was checked in last night.

Comment 3 Michael Gregg 2010-10-07 19:03:05 UTC
Success:

[root@ipaqa64vmb install]# ipa netgroup-add-member --hosts=ipaqa64vmb.idm.lab.bos.redhat.com group1
  Netgroup name: group1
  Description: group1
  NIS domain name: testdomain
  Member Host: ipaqa64vmb.idm.lab.bos.redhat.com
-------------------------
Number of members added 1
-------------------------

This seems to work in todays build. 

Thank you!


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