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


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

Freeipa-devel mailing list

Reply via email to