[Freeipa-devel] [PATCH] 308 manage arbitrary attributes
Jason Gerard DeRose
jderose at redhat.com
Thu Nov 5 05:19:38 UTC 2009
Oops, was this missing the attachment? ;)
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
More information about the Freeipa-devel
mailing list