|
From: <mi...@st...> - 2002-07-25 21:23:57
|
Michael Str=F6der wrote: >=20 > If you switch off internal referral handling you will receive search=20 > continuations along with normal search results as tuples with None as=20 > first item and a string containing the LDAP URL as second item. I forgot something: If the search root is itself matched by a=20 referral a ldap.REFERRAL exception is raised. You have to extract the referral's LDAP URL and matched field from=20 the exception instance. Feel free to check out web2ldap's sources=20 pylib/w2lapp/handler.py and pylib/w2lapp/referral.py. Your mileage=20 may vary. Note that there are many issues to deal with either in your=20 concept or your application when extensively using referrals. Ciao, Michael. |