diff --git a/ipapython/ipaldap.py b/ipapython/ipaldap.py index e0ebabbfc..38c6aad04 100644 --- a/ipapython/ipaldap.py +++ b/ipapython/ipaldap.py @@ -833,7 +833,7 @@ class LDAPClient(object): return 'TRUE' else: return 'FALSE' - elif isinstance(val, (unicode, six.integer_types, long, Decimal, DN)): + elif isinstance(val, (unicode, six.integer_types, Decimal, DN)): return value_to_utf8(val) elif isinstance(val, DNSName): return val.to_text()