[Freeipa-devel] [PATCH] Add --set option to ipa-usermod

Rob Crittenden rcritten at redhat.com
Mon Oct 29 19:01:17 UTC 2007


Simo Sorce wrote:
> On Mon, 2007-10-29 at 14:42 -0400, Rob Crittenden wrote:
>> Add --set option to ipa-usermod to allow setting an arbitrary
>> attribute. 
>> It is currently limited to one attribute, figured it's a starting
>> point.
>>
>> Also fixed a few glaring bugs.
> 
> It seem this will completely replace an attribute, and it support only a
> single value. We could provide maybe a "delete attribute" option, and an
> "add" option that just add values. Would give more functionality this
> way.
> 
> What do you think ?
> 
> Simo.
> 

A good idea, thanks. I'll have to ponder about multi-valued fields 
though I'm pretty sure passing in a python list will do the trick.

I'll revert the patch and see what I can do.

rob
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3245 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20071029/902d0738/attachment.bin>


More information about the Freeipa-devel mailing list