asynchronous search does not find referrals

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


Robert Sander wrote:
> On Fri, 9 Aug 2002 09:20:39 +0000 (UTC),
>  Michael Ströder <michael at stroeder.com> wrote:
> 
>>There was a fix related to this. You should at least use 2.0.0-pre05.
> 
> I tried 2.0.0-pre05 with the same result:

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

Also I'd like to suggest to make use of the very handy parameter 
trace_level:

l=ldap.initialize('ldap://ldap.rediris.es',trace_level=1)

Ciao, Michael.






More information about the python-ldap mailing list