From: Derrick 'd. H. <dma...@dm...> - 2004-04-07 14:49:14
|
On Wed, Apr 07, 2004 at 09:52:44AM +0200, Michael Str=C3=B6der wrote: | >>Jerome Alet wrote: | >>>Is there some code example somewhere on how to deal with them ? | You could try to let the OpenLDAP libs handle the referral by setting: |=20 | ldap.set_option(ldap.OPT_REFERRALS,1) I tried this. (actually, I wrote ldap.set_option(ldap.OPT_REFERRALS, ldap.LDAP_OPT_ON) instead of using a literal integer.) | Note that referral handling in OpenLDAP libs is considered to be broken. Indeed, it didn't work. My experience, thus far, is that very few applications actually handle referrals.=20 gq: no web2ldap: yes imp/horede: no python-ldap/libldap2: no (not automatically, as noted above) It was a rather disappointing discovery when setting up the fallback server. -D --=20 "He is no fool who gives up what he cannot keep to gain what he cannot lose= =2E" --Jim Elliot =20 www: http://dman13.dyndns.org/~dman/ jabber: dman@dman13.dyndns.= org |