[Freeipa-devel] [PATCH] 308 manage arbitrary attributes

Rob Crittenden rcritten at redhat.com
Tue Nov 10 17:28:46 UTC 2009


Jason Gerard DeRose wrote:
> Oops, was this missing the attachment?  ;)

Bah, here it is.

rob

> 
> On Wed, 2009-11-04 at 16:04 -0500, Rob Crittenden wrote:
>> This adds 2 new parameters, --setattr and --addattr and lets you manage 
>> whatever attribute you want (within the given set of objectclasses).
>>
>> Both take a name/value pair.
>>
>> --setattr sets the attribute to the given value
>> --addattr adds the value to an attribute. Can be used to manage 
>> multi-valued attributes
>>
>> For example:
>>
>> ipa user-mod --addattr=postalcode=90210 jsmith
>>
>> If the attribute to be modified is an another param then the value is 
>> silently dropped.
>>
>> You can include multiples of these on a single command-line:
>>
>> ipa user-mod --addattr=postalcode=20601 --addattr=postalcode=30330 jsmith
>>
>> Setting an attribute to "" deletes it:
>>
>> ipa user-mod --setattr=postalcode= jsmith
>>
>> rob
>> _______________________________________________
>> Freeipa-devel mailing list
>> Freeipa-devel at redhat.com
>> https://www.redhat.com/mailman/listinfo/freeipa-devel
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-308-attr.patch
Type: application/mbox
Size: 6803 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20091110/569de668/attachment.mbox>
-------------- 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/20091110/569de668/attachment.bin>


More information about the Freeipa-devel mailing list