[python3-ldap] R: Connection Slowness

Python3-ldap python3ldap at gmail.com
Wed Mar 11 16:38:58 CET 2015


Hi Derrick,
what do you mean with "so much slower"? ldap3 is a pure python library, not a wrapper around openldap C libraries, so it is intrinsically slower than python-ldap. But in my usage I notice the  difference only with very long searches, not with authentication (even during authentication there may be a search operation if you read the schema of your ldap server). Slow connection can also be generated by wrong dns resolution.  Anyway, are you using the latest ldap3 (not python3-ldap) package?

Bye,
Giovanni


----- Messaggio originale -----
Da: "Derrick Jackson" <derrick.jackson73 at gmail.com>
Inviato: ‎11/‎03/‎2015 16:08
A: "python3-ldap at python.org" <python3-ldap at python.org>
Oggetto: [python3-ldap] Connection Slowness

Hi all,


I am trying to understand why connections (authentication and searching) are so much slower using python3-ldap with python 3.4 vs python-ldap with python 2.7.  Has anyone else noticed a difference?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python3-ldap/attachments/20150311/f203b3fe/attachment.html>


More information about the python3-ldap mailing list