diff options
Diffstat (limited to 'ipalib/plugins')
-rw-r--r-- | ipalib/plugins/baseldap.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ipalib/plugins/baseldap.py b/ipalib/plugins/baseldap.py index 0b1a48107..865a8ccd8 100644 --- a/ipalib/plugins/baseldap.py +++ b/ipalib/plugins/baseldap.py @@ -243,7 +243,7 @@ def entry_to_dict(entry, **options): for attr in entry.iterkeys(): if attr.lower() == 'attributelevelrights': value = entry[attr] - elif entry.conn.get_type(attr) is str: + elif entry.conn.get_attribute_type(attr) is str: value = entry.raw[attr] else: value = list(entry.raw[attr]) |