diff options
author | Rob Crittenden <rcritten@redhat.com> | 2008-10-15 15:13:27 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2008-10-15 15:30:04 -0400 |
commit | a05f57f528c733f687eaf27d0cbd9b182867b24a (patch) | |
tree | d54812164b6bb16444d59db77c423f91476f9ff0 | |
parent | 812af4546f590f3d30c69a476b50d4a66bbde1a3 (diff) | |
download | freeipa-a05f57f528c733f687eaf27d0cbd9b182867b24a.tar.gz freeipa-a05f57f528c733f687eaf27d0cbd9b182867b24a.tar.xz freeipa-a05f57f528c733f687eaf27d0cbd9b182867b24a.zip |
Fix error if more than one values is being set in an only. The first entry wasn't being properly converted into a list so subsequent values caused it to crap out.
467102
-rwxr-xr-x | ipa-server/ipaserver/ldapupdate.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipa-server/ipaserver/ldapupdate.py b/ipa-server/ipaserver/ldapupdate.py index b2b402b56..cdf23125a 100755 --- a/ipa-server/ipaserver/ldapupdate.py +++ b/ipa-server/ipaserver/ldapupdate.py @@ -430,7 +430,7 @@ class LDAPUpdate: if only.get(k): e.append(v) else: - e = v + e = [v] only[k] = True entry.setValues(k, e) logging.debug('only: updated value %s', e) |