[python-ldap] Ldap connectors pool

Michael Ströder michael at stroeder.com
Wed Sep 14 21:26:39 CEST 2011


Tarek Ziadé wrote:
> I've been working on a pool class for ldap connectors, we're using for
> the Firefox Sync server. 
> [..]
> Example of usage:
> 
>   cm = ConnectionManager('ldap://localhost')
> 
>   with cm.connection('bind', 'password') as conn:
>       ... do something with conn...

Hmm, so it provides a slighty different API?

I'd really prefer something which is a drop-in replacement for an LDAPObject
class not limiting what can be done with the current API.

Ciao, Michael.


More information about the python-ldap mailing list