diff options
Diffstat (limited to 'ipalib/util.py')
-rw-r--r-- | ipalib/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/util.py b/ipalib/util.py index e1407748..1701fbdd 100644 --- a/ipalib/util.py +++ b/ipalib/util.py @@ -332,7 +332,7 @@ def convert_sshpubkey_post(ldap, dn, entry_attrs): pubkeys = entry_attrs['ipasshpubkey'] else: old_entry_attrs = ldap.get_entry(dn, ['ipasshpubkey']) - pubkeys = old_entry_attrs[1].get('ipasshpubkey') + pubkeys = old_entry_attrs.get('ipasshpubkey') if not pubkeys: return |