When connecting to an LDAP server on a remote CentOS machine I receive the following error:
>>> import ldapom
>>> c = ldapom.LDAPConnection(uri='ldap://auth-1.example.io', base='dc=example,dc=io', bind_dn='cn=Manager,dc=example,dc=io', bind_password='password')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/local/lib/python3.3/dist-packages/ldapom/connection.py", line 110, in __init__
self._connect()
File "/usr/local/lib/python3.3/dist-packages/ldapom/connection.py", line 145, in _connect
self._fetch_attribute_types()
File "/usr/local/lib/python3.3/dist-packages/ldapom/connection.py", line 158, in _fetch_attribute_types
attribute_type_definitions)
File "/usr/local/lib/python3.3/dist-packages/ldapom/attribute.py", line 246, in build_attribute_types
type_mixin = ATTRIBUTE_SYNTAX_TO_TYPE_MIXIN[type_dict["syntax"]]
KeyError: 'syntax'
When connecting to an LDAP server on a remote CentOS machine I receive the following error: