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@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel


Attachment: freeipa-308-attr.patch
Description: application/mbox

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to