summaryrefslogtreecommitdiffstats
path: root/ipalib/plugins/baseldap.py
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2015-01-26 16:33:50 +0000
committerJan Cholasta <jcholast@redhat.com>2015-04-16 06:58:31 +0000
commitdb88498c956a608ab09168ecd70ec7d4d755d0b2 (patch)
treec5ddc0993a782ba8e28179e5037d009c3cae6d2b /ipalib/plugins/baseldap.py
parentcbb112dd57940cdb128dd5535f0ff3a826009641 (diff)
downloadfreeipa-db88498c956a608ab09168ecd70ec7d4d755d0b2.tar.gz
freeipa-db88498c956a608ab09168ecd70ec7d4d755d0b2.tar.xz
freeipa-db88498c956a608ab09168ecd70ec7d4d755d0b2.zip
ldap: Move schema handling from IPASimpleLDAPObject to LDAPClient
Reviewed-By: Petr Viktorin <pviktori@redhat.com>
Diffstat (limited to 'ipalib/plugins/baseldap.py')
-rw-r--r--ipalib/plugins/baseldap.py2
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])