asynchronous search does not find referrals

Michael Ströder michael at stroeder.com
Sat Aug 10 00:46:04 CEST 2002


Michael Ströder wrote:
> Sometimes the solutions is too obvious. ;-)
> 
> It definitely helps to display the search references. Add this line:
> 
>     elif result_type == ldap.RES_SEARCH_REFERENCE:
>         print result_data

And did I mention ldap.async? That is a convenience module exactly 
to avoid having to deal with it yourself.

Ciao, Michael.






More information about the python-ldap mailing list