ldap.async (was: sample code online)
Michael Ströder
michael at stroeder.com
Sun Nov 3 19:14:37 CET 2002
Michael Engelhart wrote:
>
> As for ldap.async.List are you suggesting that we'll have some more user
> friendly wrappers for python-ldap?
Well, I developed it for web2ldap and some of my commercial projects and
contributed it to python-ldap.
ldap.async solves some real-word problems for me:
- Stream processing of large result sets (ldap.async.AsyncSearchHandler)
- Grab partial search results (ldap.async.List)
- Write large result sets to file object (ldap.async.FileWriter), e.g.
produce LDIF with ldap.async.LDIFWriter.
There's also some potential with deriving classes from
ldap.ldapobject.LDAPObject (mainly SimpleLDAPObject): Automatic fail-over,
load-balancing.
E.g. I'm using ldap.ldapobject.ReconnectLDAPObject in web2ldap to work
around Domino/LDAP dropping LDAP connections quite frequently.
But I did not make up my mind so far about a really nice and cleanly
designed class structure.
> Is that something that people are
> working on?
At the moment I'm the only one...
Ciao, Michael.
-------------------------------------------------------
This SF.net email is sponsored by: ApacheCon, November 18-21 in
Las Vegas (supported by COMDEX), the only Apache event to be
fully supported by the ASF. http://www.apachecon.com
_______________________________________________
Python-LDAP-dev mailing list
Python-LDAP-dev at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/python-ldap-dev
More information about the python-crypto
mailing list