diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-11-10 17:07:41 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-11-12 15:55:59 -0500 |
commit | e377ab0b7f01bbd85155eb4dbb771e49322aa93f (patch) | |
tree | d860440a84255a9a7e93aad5b269ada39b3d4347 /ipa-admintools | |
parent | 891068087e554530e9bb2beb9f94f94943a3be97 (diff) | |
download | freeipa-e377ab0b7f01bbd85155eb4dbb771e49322aa93f.tar.gz freeipa-e377ab0b7f01bbd85155eb4dbb771e49322aa93f.tar.xz freeipa-e377ab0b7f01bbd85155eb4dbb771e49322aa93f.zip |
Fix appending to a multi-valued field.
There was a bug where only the first value of a multi-valued field
would be returned.
Diffstat (limited to 'ipa-admintools')
-rw-r--r-- | ipa-admintools/ipa-moduser | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-admintools/ipa-moduser b/ipa-admintools/ipa-moduser index 5f0bc6af6..ec483a5d9 100644 --- a/ipa-admintools/ipa-moduser +++ b/ipa-admintools/ipa-moduser @@ -204,7 +204,7 @@ def main(): set_add_usage("add") sys.exit(1) (attr,value) = a - cvalue = user.getValue(attr) + cvalue = user.getValues(attr) if cvalue: if isinstance(cvalue,str): cvalue = [cvalue] |