Bug 500504

Summary: ipa group-mod no looger seems to have setattr option
Product: [Retired] freeIPA Reporter: Michael Gregg <mgregg>
Component: ipa-admintoolsAssignee: Rob Crittenden <rcritten>
Status: CLOSED NOTABUG QA Contact: Chandrasekar Kannan <ckannan>
Severity: medium Docs Contact:
Priority: low    
Version: unspecifiedCC: benl, dpal
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-05-13 00:23:09 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 Michael Gregg 2009-05-12 22:47:34 UTC
Description of problem:
the setattr used to be rather useful for modifying many options that were difficult to modify any other way, a possible use is:
ipa group-mod --setattr='cn=k' group-1-0

Version-Release number of selected component (if applicable):
ipa-server-2.0-2.20090507.el5ipa

How reproducible:
always

Steps to Reproduce:
1. ipa group-mod --setattr='cn=k' group-1-0
  
Actual results:
[root@iparhel5-vma ~]# ipa group-mod --setattr='cn=k' group-1-0
usage: Usage: ipa [global-options] group-mod NAME

ipa: error: no such option: --setattr

Comment 1 Rob Crittenden 2009-05-13 00:23:09 UTC
The command-line tools are completely different between v1 and v2.

We do not currently have a way to set arbitrary attributes in the v2 client for any command. It is in the works.