python-ldap and asyncore

Hiroki Sakagami sakagami at gmail.com
Wed Feb 28 17:55:55 CET 2007


Hi,

Thank you for your reply.  So, I can get the socket object by adding
such a method manually. Is there any chance there will be support for
LDAP_OPT_DESC in future python-ldap?

--
Hiroki Sakagami

On 2/27/07, Michael Ströder <michael at stroeder.com> wrote:
> Alain Spineux wrote:
> > On 2/20/07, Hiroki Sakagami <sakagami at gmail.com> wrote:
> >> Hi,
> >>
> >> I'm trying to use python-ldap with asyncore event loop.  Since
> >> asyncore's event source is a socket object, I can't use search() and
> >> result() style polling.  Is it possible to access a socket object in
> >> the LDAPObject instance?
> >
> > http://www.openldap.org/lists/openldap-software/200102/msg00290.html
> >
> > hope this help
>
> One would have to patch Modules/options.c and Modules/constants.c for
> this to theoretically work.
>
> Ciao, Michael.
>




More information about the python-ldap mailing list