2 ms·
We are using Python LDAP library[1] at work, but it is not available for Python 3 yet. Is there an alternative? 1 https://pypi.python.org/pypi/python-ldap/ htt
by srathi 11y ago
We are using Python LDAP library[1] at work, but it is not available for Python 3 yet. Is there an alternative?
1 https://pypi.python.org/pypi/python-ldap/ https://pypi.python.org/pypi/python-ldap/
- hynek 11y agoYes! RedHat needed it too and forked the project: https://pypi.python.org/pypi/pyldap https://pypi.python.org/pypi/pyldap
- thristian 11y agoldap3 is not API-compatible with python-ldap, but it's pure-Python (it doesn't need the OpenLDAP libraries installed) and you might find its API is a bit nicer to use: https://pypi.python.org/pypi/ldap3 https://pypi.python.org/pypi/ldap3
- perlgeek 11y agoI can second the recommendation for ldap3. It's very well-engineered, well-documented, works with python 2 and 3, and has (if I remember correctly) zero dependencies.